Avoid re-registering the `keydown` event controller in the media grid so arrow controls don't skip media items.

Fixes #30348
Props UmeshSingla


git-svn-id: https://develop.svn.wordpress.org/trunk@30377 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2014-11-18 04:27:12 +00:00
parent 01ef72efa4
commit 0297a3c4f6
1 changed files with 1 additions and 2 deletions

View File

@ -387,8 +387,7 @@
events: {
'click .left': 'previousMediaItem',
'click .right': 'nextMediaItem',
'keydown': 'keyEvent'
'click .right': 'nextMediaItem'
},
initialize: function() {