Permalink
Browse files

Added another check for orientation change event for Android 2.1

  • Loading branch information...
toddparker authored and johnbender committed Sep 27, 2011
1 parent a0ddaab commit ff9720281b25c68c779cd71955089408249fc734
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,

0 comments on commit ff97202

Please sign in to comment.