Remove <noscript> in AJAX
This commit is contained in:
parent
16c7dc6bb6
commit
79c145a108
|
@ -102,7 +102,7 @@ function setHtml(id, html) {
|
||||||
if (html == undefined) {
|
if (html == undefined) {
|
||||||
el.parentNode.innerHTML = ' ';
|
el.parentNode.innerHTML = ' ';
|
||||||
} else {
|
} 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue