mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-28 09:54:44 +00:00
Disabled ajax navigation in BlackBerry 5 and Opera Mini, for a more usable overall experience (and in some cases, due to insufficient native history implementations that don't track hash changes). Fixes #1644 and Fixes #1276
This commit is contained in:
parent
8929ac33b9
commit
7b578f7873
1 changed files with 8 additions and 0 deletions
|
|
@ -56,6 +56,14 @@ $.mobile.browser.ie = ( function() {
|
|||
return v > 4 ? v : !v;
|
||||
}() );
|
||||
|
||||
|
||||
// override ajaxEnabled on platforms that have known conflicts with hash history updates
|
||||
// or generally work better browsing in regular http for full page refreshes (BB5, Opera Mini)
|
||||
if( window.blackberry && !window.WebKitPoint || window.operamini && Object.prototype.toString.call( window.operamini ) === "[object OperaMini]" ){
|
||||
$.mobile.ajaxEnabled = false;
|
||||
}
|
||||
|
||||
|
||||
$.extend( $.support, {
|
||||
orientation: "orientation" in window,
|
||||
touch: "ontouchend" in document,
|
||||
|
|
|
|||
Loading…
Reference in a new issue