Ticket #20557: quicker-method.diff
| File quicker-method.diff, 805 bytes (added by georgestephanis, 13 months ago) |
|---|
-
wp-admin/js/postbox.dev.js
71 71 items: '.postbox', 72 72 handle: '.hndle', 73 73 cursor: 'move', 74 delay: ( $('body').hasClass('mobile') ? 200 : 0 ),74 delay: ( document.getElementsByTagName('body')[0].className.match(/mobile/i) ? 200 : 0 ), 75 75 distance: 2, 76 76 tolerance: 'pointer', 77 77 forcePlaceholderSize: true, … … 93 93 } 94 94 }); 95 95 96 if ( navigator.userAgent.match(/mobile/i) ) {96 if ( document.getElementsByTagName('body')[0].className.match(/mobile/i) ) { 97 97 $(document.body).bind('orientationchange.postboxes', function(){ postboxes._pb_change(); }); 98 98 this._pb_change(); 99 99 }
