Ticket #28704: 28704.diff
File 28704.diff, 646 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/js/media-views.js
4784 4784 * @param {Object} event 4785 4785 */ 4786 4786 arrowEvent: function( event ) { 4787 // Skip arrow navigation when event is inside an input field 4788 if ( 'input' === event.target.tagName.toLowerCase() ) { 4789 return; 4790 } 4787 4791 var attachment = $('.attachments-browser .attachment'), 4788 4792 attachmentsWidth = $('.attachments-browser .attachments').width(), 4789 4793 thumbnailWidth = attachment.first().innerWidth() + 16,