Define CSS normal way and not by writing through JavaScript.
This commit is contained in:
@@ -61,11 +61,6 @@ if (empty($GLOBALS['is_header_sent'])) {
|
||||
&& typeof(parent.document.title) == 'string') {
|
||||
parent.document.title = '<?php echo PMA_sanitize($title); ?>';
|
||||
}
|
||||
|
||||
document.write('<style type="text/css">');
|
||||
document.write('img.lightbulb { cursor: pointer; }');
|
||||
document.write('<\/style>');
|
||||
|
||||
<?php
|
||||
// Add some javascript instructions if required
|
||||
if (isset($js_to_run) && $js_to_run == 'functions.js') {
|
||||
@@ -254,4 +249,4 @@ if (empty($GLOBALS['is_header_sent'])) {
|
||||
*/
|
||||
$GLOBALS['is_header_sent'] = TRUE;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user