From 187d612dd48b4b831ba64e891450f21a4381c63e Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 2 Mar 2004 02:22:44 +0000 Subject: [PATCH] Force the wiki out of frameset thieves --- stylesheets/wikibits.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stylesheets/wikibits.js b/stylesheets/wikibits.js index 155e0609d2..f4dbaa76d2 100644 --- a/stylesheets/wikibits.js +++ b/stylesheets/wikibits.js @@ -1,5 +1,8 @@ // Wikipedia JavaScript support functions +// Un-trap us from framesets +if( window.top != window ) window.top.location = window.location; + // for enhanced RecentChanges function toggleVisibility( _levelId, _otherId, _linkId) { var thisLevel = document.getElementById( _levelId ); -- 2.20.1