Clean up the sticky menu and responsive tweaks JS:

- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086, fixes #26088.

git-svn-id: https://develop.svn.wordpress.org/trunk@26402 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2013-11-26 08:56:11 +00:00
parent 7c6dfbf0f8
commit 0329fb83e3
5 changed files with 217 additions and 245 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
function wp_admin_bar_sidebar_toggle( $wp_admin_bar ) {
if ( is_admin() ) {
$wp_admin_bar->add_menu( array(
'id' => 'toggle-button',
'id' => 'menu-toggle',
'title' => '<span class="ab-icon"></span>',
'href' => '#',
'meta' => array(