mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user