WordPress.org

Make WordPress Core

Changeset 9539


Ignore:
Timestamp:
11/06/08 01:52:37 (5 years ago)
Author:
ryan
Message:

Bind menu icons to single click instead of double

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/menu.js

    r9422 r9539  
    66        $('#adminmenu a').attr('tabindex', '10'); 
    77        $('#adminmenu div.wp-menu-toggle').click( function() { return adminMenu.toggle( $(this).siblings('ul') ); } ); 
    8         $('#adminmenu li.wp-has-submenu img.wp-menu-image').dblclick( function() { window.location = $(this).siblings('a.wp-has-submenu')[0].href; } ); 
     8        $('#adminmenu li.wp-has-submenu img.wp-menu-image').click( function() { window.location = $(this).siblings('a.wp-has-submenu')[0].href; } ); 
    99 
    1010        $('.wp-menu-separator').click(function(){ 
  • trunk/wp-includes/script-loader.php

    r9536 r9539  
    298298 
    299299        $scripts->add( 'hoverIntent', '/wp-includes/js/hoverIntent.js', array('jquery'), '20070327' ); 
    300         $scripts->add( 'menu', '/wp-admin/js/menu.js', array( 'jquery', 'hoverIntent' ), '20081030' ); 
     300        $scripts->add( 'menu', '/wp-admin/js/menu.js', array( 'jquery', 'hoverIntent' ), '20081105' ); 
    301301 
    302302    } 
Note: See TracChangeset for help on using the changeset viewer.