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