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

Fixes #30348
Props UmeshSingla

Built from https://develop.svn.wordpress.org/trunk@30377


git-svn-id: http://core.svn.wordpress.org/trunk@30374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-11-18 04:28:22 +00:00
parent cca329174f
commit 02c773efb0
2 changed files with 2 additions and 3 deletions

View File

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

File diff suppressed because one or more lines are too long