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:
Sergey Biryukov 2014-07-19 03:32:17 +00:00
parent 37e51e558c
commit 81f912dd7a
2 changed files with 4 additions and 1 deletions

View File

@ -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