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:
parent
01ef72efa4
commit
0297a3c4f6
|
@ -387,8 +387,7 @@
|
|||
|
||||
events: {
|
||||
'click .left': 'previousMediaItem',
|
||||
'click .right': 'nextMediaItem',
|
||||
'keydown': 'keyEvent'
|
||||
'click .right': 'nextMediaItem'
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
|
|
Loading…
Reference in New Issue