|
|
@@ -28,7 +28,9 @@ $(function(){
|
|
|
$( "#demoCanvas" ).on( "swipe", swipeHandler );
|
|
|
$.event.special.swipe.horizontalDistanceThreshold = 1;
|
|
|
$.event.special.swipe.verticalDistanceThreshold = 1000;
|
|
|
- $.mobile.loader.prototype.options.disabled = true;
|
|
|
+ $( document ).on( "mobileinit", function() {
|
|
|
+ $.mobile.loader.prototype.options.disabled = true;
|
|
|
+ });
|
|
|
|
|
|
// Callback function references the event target and adds the 'swipe' class to it
|
|
|
function swipeHandler( event ){
|