Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support: switch to $.mobile.browser.oldIE FIX: #4881 - Move $.mobile.…

…ie to $.mobile.oldIE
  • Loading branch information...
commit ce0385ed8cebf1b499c98f8f2c57c61843ee6c7b 1 parent 0393035
@arschmitz arschmitz authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 js/jquery.mobile.support.js
  2. +1 −1  js/widgets/popup.js
View
6 js/jquery.mobile.support.js
@@ -117,7 +117,7 @@ function boundingRect() {
// non-UA-based IE version check by James Padolsey, modified by jdalton - from http://gist.github.com/527683
// allows for inclusion of IE 6+, including Windows Mobile 7
$.extend( $.mobile, { browser: {} } );
-$.mobile.browser.ie = (function() {
+$.mobile.browser.oldIE = (function() {
var v = 3,
div = document.createElement( "div" ),
a = div.all || [];
@@ -131,7 +131,7 @@ $.mobile.browser.ie = (function() {
$.extend( $.support, {
- cssTransitions: "WebKitTransitionEvent" in window || validStyle( 'transition', 'height 100ms linear', [ "Webkit", "Moz", "" ] ) && $.mobile.browser.ie > 9 && !opera,
+ cssTransitions: "WebKitTransitionEvent" in window || validStyle( 'transition', 'height 100ms linear', [ "Webkit", "Moz", "" ] ) && !$.mobile.browser.oldIE && !opera,
pushState: "pushState" in history && "replaceState" in history,
mediaquery: $.mobile.media( "only all" ),
cssPseudoElement: !!propExists( "content" ),
@@ -166,7 +166,7 @@ var nokiaLTE7_3 = (function() {
// default enhanced qualifications are media query support OR IE 7+
$.mobile.gradeA = function() {
- return ( $.support.mediaquery || $.mobile.browser.ie && $.mobile.browser.ie >= 7 ) && ( $.support.boundingRect || $.fn.jquery.match(/1\.[0-7+]\.[0-9+]?/) !== null );
+ return ( $.support.mediaquery || $.mobile.browser.oldIE && $.mobile.browser.oldIE >= 7 ) && ( $.support.boundingRect || $.fn.jquery.match(/1\.[0-7+]\.[0-9+]?/) !== null );
};
$.mobile.ajaxBlacklist =
View
2  js/widgets/popup.js
@@ -71,7 +71,7 @@ define( [
// https://github.com/jquery/jquery-mobile/issues/4784
//
// NOTE this option is modified in _create!
- history: !$.mobile.browser.ie
+ history: !$.mobile.browser.oldIE
},
_eatEventAndClose: function( e ) {
Please sign in to comment.
Something went wrong with that request. Please try again.