Skip to content

Commit ff97202

Browse files
toddparkerjohnbender
authored andcommitted
Added another check for orientation change event for Android 2.1
1 parent a0ddaab commit ff97202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $.mobile.browser.ie = (function() {
6464

6565

6666
$.extend( $.support, {
67-
orientation: "orientation" in window,
67+
orientation: "orientation" in window && "onorientationchange" in window,
6868
touch: "ontouchend" in document,
6969
cssTransitions: "WebKitTransitionEvent" in window,
7070
pushState: "pushState" in history && "replaceState" in history,

0 commit comments

Comments
 (0)