Re-fixing bug 37339 - Checking an undefined variable for a specific value didn't work in Netscape 4 (and was probably a strict warning everywhere else).

Fix by Christian Reis <kiko@async.com.br>
r= afranke, jake


git-svn-id: svn://10.0.0.236/trunk@111060 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jake%acutex.net
2001-12-24 22:24:35 +00:00
parent 7c813125c7
commit a95f433eab

View File

@@ -46,7 +46,7 @@ function do_shift(l) {
}
function go_to (url) {
if (sidebar == 1) {
if ( typeof sidebar != "undefined" && sidebar == 1 ) {
load_relative_url(url);
} else {
document.location.href = url;