Sfoglia il codice sorgente

remove jqmobile loading message

Kevin Heinicke 10 anni fa
parent
commit
df7f1b0920
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      js/script.js

+ 1 - 0
js/script.js

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