diff --git a/4chan_x.user.js b/4chan_x.user.js index 55908be30..21e6d015d 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -310,7 +310,8 @@ style = document.createElement('style'); style.type = 'text/css'; style.textContent = css; - return $.append(d.head, style); + $.append(d.head, style); + return style; }, config: function(name) { return $.getValue(name, _config[name]); diff --git a/script.coffee b/script.coffee index fff1ece6f..11176b497 100644 --- a/script.coffee +++ b/script.coffee @@ -200,6 +200,7 @@ $.extend $, style.type = 'text/css' style.textContent = css $.append d.head, style + style config: (name) -> $.getValue name, _config[name] zeroPad: (n) ->