]> git.joonet.de Git - adminer.git/commitdiff
No manual <noscript> removal required anymore
authorJakub Vrana <jakub@vrana.cz>
Mon, 16 May 2011 14:26:24 +0000 (16:26 +0200)
committerJakub Vrana <jakub@vrana.cz>
Mon, 16 May 2011 14:26:24 +0000 (16:26 +0200)
adminer/static/functions.js

index 21dd60d2ce930519df524da05f04c8d92d31c1d3..13de08d57a9fde7270ee1e0a12776c346ce390f3 100644 (file)
@@ -100,7 +100,7 @@ function setHtml(id, html) {
                if (html == undefined) {
                        el.parentNode.innerHTML = '&nbsp;';
                } 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;
                }
        }
 }