1
0
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:
Jakub Vrana
2010-12-10 01:09:19 +01:00
parent 16c7dc6bb6
commit 79c145a108

View File

@@ -102,7 +102,7 @@ function setHtml(id, html) {
if (html == undefined) {
el.parentNode.innerHTML = '&nbsp;';
} 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
}
}
}