inliner.js
authorAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 05:10:53 +0000 (13:10 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 05:10:53 +0000 (13:10 +0800)
inliner.js

index 5b56bad..9861b5c 100644 (file)
@@ -76,7 +76,7 @@
         
         // remove existing stylesheets..
         var ar = document.getElementsByTagName('style');
-        foreach(var i =0;i< ar.length;i++) {
+        for(var i =0;i< ar.length;i++) {
             ar[i].parentElement.remove(ar[i]);
         }