From 24d6ca0346b5d2518a80110ceee69c60cd7ddf50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Tue, 4 Dec 2001 23:31:31 +0000 Subject: [PATCH] js testings to avoid errors --- left.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/left.php3 b/left.php3 index 24015db76..9c4e82301 100755 --- a/left.php3 +++ b/left.php3 @@ -210,7 +210,7 @@ if ($num_dbs > 1) { } // end if // Displays the database name - $on_mouse = (($cfgLeftPointerColor == '') ? '' : 'onmouseover="this.style.backgroundColor=\'' . $cfgLeftPointerColor . '\'" onmouseout="this.style.backgroundColor=\'' . $cfgLeftBgColor . '\'"'); + $on_mouse = (($cfgLeftPointerColor == '') ? '' : 'onmouseover="if (typeof(this.style) != \'undefined\') {this.style.backgroundColor=\'' . $cfgLeftPointerColor . '\'}" onmouseout="if (typeof(this.style) != \'undefined\') {this.style.backgroundColor=\'' . $cfgLeftBgColor . '\'}"'); echo "\n"; echo '
';