Pinking shears. see #26086 props atimmer.
git-svn-id: https://develop.svn.wordpress.org/trunk@26627 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
589653b4b7
commit
bda43fd107
@ -562,7 +562,7 @@ $(document).ready( function() {
|
|||||||
$adminmenu.on( 'touchstart.wp-responsive', 'li.wp-has-submenu > a', function() {
|
$adminmenu.on( 'touchstart.wp-responsive', 'li.wp-has-submenu > a', function() {
|
||||||
scrollStart = $window.scrollTop();
|
scrollStart = $window.scrollTop();
|
||||||
}).on( 'touchend.wp-responsive click.wp-responsive', 'li.wp-has-submenu > a', function( event ) {
|
}).on( 'touchend.wp-responsive click.wp-responsive', 'li.wp-has-submenu > a', function( event ) {
|
||||||
if ( ! $adminmenu.data('wp-responsive') ||
|
if ( ! $adminmenu.data('wp-responsive') ||
|
||||||
( event.type === 'touchend' && $window.scrollTop() !== scrollStart ) ) {
|
( event.type === 'touchend' && $window.scrollTop() !== scrollStart ) ) {
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user