Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

disable popup history managment in old ie by default, Fixes #4784

  • Loading branch information...
commit 46a65c6bd28bbaac59b3c49a7097f66296d72cc0 1 parent fef0eea
John Bender johnbender authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 js/widgets/popup.js
7 js/widgets/popup.js
View
@@ -7,6 +7,7 @@
define( [ "jquery",
"../jquery.mobile.widget",
+ "../jquery.mobile.support",
"../jquery.mobile.navigation",
"depend!../jquery.hashchange[jquery]" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
@@ -51,7 +52,11 @@ define( [ "jquery",
closeLinkEvents: "click.popup",
navigateEvents: "navigate.popup",
closeEvents: "navigate.popup pagebeforechange.popup",
- history: true
+
+ // NOTE Windows Phone 7 has a scroll position caching issue that
+ // requires us to disable popup history management by default
+ // https://github.com/jquery/jquery-mobile/issues/4784
+ history: !$.mobile.browser.ie
},
_eatEventAndClose: function( e ) {
Please sign in to comment.
Something went wrong with that request. Please try again.