Customizer: Remove "Add a Widget" button from tab order when reordering widgets.
fixes #28890. git-svn-id: https://develop.svn.wordpress.org/trunk@29243 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
45ec949d58
commit
d83dbfca17
@ -1588,6 +1588,9 @@
|
||||
} );
|
||||
|
||||
this.$sectionContent.find( '.first-widget .move-widget' ).focus();
|
||||
this.$sectionContent.find( '.add-new-widget' ).prop( 'tabIndex', -1 );
|
||||
} else {
|
||||
this.$sectionContent.find( '.add-new-widget' ).prop( 'tabIndex', 0 );
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user