diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 7fee91438..695660330 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -227,7 +227,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