mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 00:00:15 +00:00
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:
@@ -387,8 +387,7 @@
|
||||
|
||||
events: {
|
||||
'click .left': 'previousMediaItem',
|
||||
'click .right': 'nextMediaItem',
|
||||
'keydown': 'keyEvent'
|
||||
'click .right': 'nextMediaItem'
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
|
||||
Reference in New Issue
Block a user