From eb856e3eee62a007ee4f6980c946ed04864878fe Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 4 Apr 2016 21:05:33 -0700 Subject: [PATCH] Set cssText, not style. --- src/General/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 72bca370f..18adf8d58 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -221,7 +221,7 @@ Main = # Determine proper background color for dialogs if 4chan is using a special stylesheet. div = $.el 'div', className: 'reply' - style: 'position: absolute; visibility: hidden;' + div.style.cssText = 'position: absolute; visibility: hidden;' $.add d.body, div bgColor = window.getComputedStyle(div).backgroundColor $.rm div