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
}
}
}