diff --git a/4chan_x.user.js b/4chan_x.user.js index 20b60896d..dce64eee0 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1611,7 +1611,6 @@ bb.append(ui8a.buffer); _this.url = url.createObjectURL(bb.getBlob('image/png')); _this.el.style.backgroundImage = "url(" + _this.url + ")"; - console.log(_this.url); return url.revokeObjectURL(fileUrl); }); return img.src = fileUrl; @@ -2155,12 +2154,12 @@ textContent: '4chan X', href: 'javascript:;' }); - $.on(a, 'click', this.dialog); + $.on(a, 'click', Options.dialog); $.replace(home.firstElementChild, a); } if (!$.get('firstrun')) { $.set('firstrun', true); - return this.dialog(); + return Options.dialog(); } }, dialog: function() { @@ -4244,7 +4243,7 @@ textarea.field {\ .warning {\ color: red;\ }\ -td.replyhider {\ +.replyhider {\ vertical-align: top;\ }\ \ diff --git a/script.coffee b/script.coffee index d741e4a21..6e67dc619 100644 --- a/script.coffee +++ b/script.coffee @@ -1319,7 +1319,6 @@ qr = @url = url.createObjectURL bb.getBlob 'image/png' @el.style.backgroundImage = "url(#{@url})" - console.log @url url.revokeObjectURL fileUrl img.src = fileUrl @@ -1770,11 +1769,11 @@ Options = a = $.el 'a', textContent: '4chan X' href: 'javascript:;' - $.on a, 'click', @dialog + $.on a, 'click', Options.dialog $.replace home.firstElementChild, a unless $.get 'firstrun' $.set 'firstrun', true - @dialog() + Options.dialog() dialog: -> dialog = $.el 'div' @@ -3541,7 +3540,7 @@ textarea.field { .warning { color: red; } -td.replyhider { +.replyhider { vertical-align: top; }