You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check to see if ajax can be used. This does a quick ajax request and blocks the page until its done
89
77
$.ajax({
@@ -96,16 +84,17 @@ if ( location.protocol.substr(0,4) === 'file' ||
96
84
$.mobile.ajaxEnabled=false;
97
85
98
86
varmessage=$('<div>',{
99
-
"class": "ui-footer ui-bar-e",
100
-
"style": "overflow: auto"
101
-
});
87
+
'class': "ui-footer ui-bar-e",
88
+
style: "overflow: auto; padding:10px 15px;",
89
+
'data-ajax-warning': true
90
+
});
102
91
103
92
message
104
93
.append("<h3>Note: Navigation may not work if viewed locally</h3>")
105
94
.append("<p>The AJAX-based navigation used throughout the jQuery Mobile docs may need to be viewed on a web server to work in certain browsers such as Chrome. If you see an error message when you click a link, try a different browser or <a href='https://github.com/jquery/jquery-mobile/wiki/Downloadable-Docs-Help'>view help</a>.</p>");
0 commit comments