Merge "Use correct progressive color on inputs"
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.view.redirect.js
index c87ff7c..b9aa137 100644 (file)
                // This will also cause the browser to scroll to given fragment
                history.replaceState( /*data=*/ history.state, /*title=*/ document.title, /*url=*/ canonical );
 
+               // â€¦except for IE 10 and 11. Prod it with a location.hash change.
+               if ( shouldChangeFragment && profile.name === 'msie' && profile.versionNumber >= 10 ) {
+                       location.hash = fragment;
+               }
+
        } else if ( shouldChangeFragment ) {
                if ( profile.layout === 'webkit' && profile.layoutVersion < 420 ) {
                        // Released Safari w/ WebKit 418.9.1 messes up horribly