Changeset 22183
- Timestamp:
- 10/11/2012 04:04:12 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/media-views.js
r22175 r22183 386 386 387 387 events: { 388 'click .attachment-preview': 'toggleSelection',388 'click .attachment-preview': 'toggleSelection', 389 389 'mouseenter .attachment-preview': 'shrink', 390 390 'mouseleave .attachment-preview': 'expand', 391 'change .describe': 'describe' 391 'change .describe': 'describe', 392 'click .close': 'toggleSelection' 392 393 }, 393 394 … … 563 564 }, 564 565 565 events: { 566 'click .close': 'toggleSelection' 567 } 566 events: (function() { 567 var events = _.clone( media.view.Attachment.prototype.events ); 568 delete events['click .attachment-preview']; 569 return events; 570 }()) 568 571 }); 569 572
Note: See TracChangeset
for help on using the changeset viewer.