Last active
December 21, 2015 10:28
-
-
Save chrmod/6291623 to your computer and use it in GitHub Desktop.
Disable Jquery Mobile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).bind("mobileinit", function () { | |
$.mobile.ajaxEnabled = false; | |
$.mobile.linkBindingEnabled = false; | |
$.mobile.listview.prototype.options.icon = ""; | |
$.mobile.hashListeningEnabled = false; | |
$.mobile.pushStateEnabled = false; | |
$.mobile.buttonMarkup.hoverDelay = 0; | |
$.mobile.button.prototype.options.initSelector = ".jquery-button"; | |
}) | |
</script> | |
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment