Skip to content

Commit bc036b9

Browse files
author
scottjehl
committed
Clock tap is busted, so this logic is here but commented-out
1 parent fda7167 commit bc036b9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

js/jquery.mobile.navigation.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,17 @@
426426
$( document ).bind( "beforechangepage", getLastScroll );
427427
$( window ).bind( $.support.pushState ? "popstate" : "hashchange", getLastScroll );
428428

429+
// Make the iOS clock quick-scroll work again if we're using native overflow scrolling
430+
/*
431+
if( $.support.touchOverflow ){
432+
$( window ).bind( "scrollstop", function(){
433+
if( $( this ).scrollTop() === 0 ){
434+
$.mobile.activePage.scrollTop( 0 );
435+
}
436+
});
437+
}
438+
*/
439+
429440
//function for transitioning between two existing pages
430441
function transitionPages( toPage, fromPage, transition, reverse ) {
431442

0 commit comments

Comments
 (0)