Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added another check for orientation change event for Android 2.1

  • Loading branch information...
commit c1ad5713bda1914c245a36b4a0e04d8f7f49dafe 1 parent 93c5ad1
@toddparker toddparker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.mobile.support.js
View
2  js/jquery.mobile.support.js
@@ -64,7 +64,7 @@ $.mobile.browser.ie = (function() {
$.extend( $.support, {
- orientation: "orientation" in window,
+ orientation: "orientation" in window && "onorientationchange" in window,
touch: "ontouchend" in document,
cssTransitions: "WebKitTransitionEvent" in window,
pushState: "pushState" in history && "replaceState" in history,
Please sign in to comment.
Something went wrong with that request. Please try again.