Customizer: Remove "Add a Widget" button from tab order when reordering widgets.
fixes #28890. Built from https://develop.svn.wordpress.org/trunk@29243 git-svn-id: http://core.svn.wordpress.org/trunk@29027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
37e51e558c
commit
81f912dd7a
|
@ -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 );
|
||||
}
|
||||
},
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue