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 '