No manual <noscript> removal required anymore
This commit is contained in:
parent
4ff2f03a0f
commit
48981e9acb
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue