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

index 35197a2..6a656bd 100644 (file)
@@ -15,7 +15,7 @@
         
         
         style = window.getComputedStyle(dom, null);
-        if (style.display = 'none') {
+        if (style.display == 'none') {
             dom.parentElement.removeChild(dom);
         }