Merge "Remove double escaping of group member name on Special:ListUsers"
[lhc/web/wiklou.git] / resources / src / mediawiki.page / mediawiki.page.ready.js
index 246cc81..36eb9d4 100644 (file)
@@ -7,7 +7,7 @@
                // it works only comparing to window.self or window.window (http://stackoverflow.com/q/4850978/319266)
                if ( window.top !== window.self ) {
                        // Un-trap us from framesets
-                       window.top.location = window.location;
+                       window.top.location.href = location.href;
                }
        }