mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
No manual <noscript> removal required anymore
This commit is contained in:
@@ -100,7 +100,7 @@ function setHtml(id, html) {
|
|||||||
if (html == undefined) {
|
if (html == undefined) {
|
||||||
el.parentNode.innerHTML = ' ';
|
el.parentNode.innerHTML = ' ';
|
||||||
} else {
|
} else {
|
||||||
el.innerHTML = html.replace(/<noscript>.*<\/noscript>/i, ''); // required for Google Chrome // hopes that there will be only one <noscript> on each line
|
el.innerHTML = html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user