diff --git a/4chan_x.user.js b/4chan_x.user.js index 20ec927a1..7a0bf5430 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1248,11 +1248,11 @@ autohide: { set: function() { var _ref; - return (_ref = $('input[title=autohide]:not(:checked)', qr.el)) != null ? _ref.click() : void 0; + return (_ref = $('#autohide:not(:checked)', qr.el)) != null ? _ref.click() : void 0; }, unset: function() { var _ref; - return (_ref = $('input[title=autohide]:checked', qr.el)) != null ? _ref.click() : void 0; + return (_ref = $('#autohide:checked', qr.el)) != null ? _ref.click() : void 0; } }, cb: { diff --git a/script.coffee b/script.coffee index c82c2a5f7..f3221332e 100644 --- a/script.coffee +++ b/script.coffee @@ -978,9 +978,9 @@ qr = autohide: set: -> - $('input[title=autohide]:not(:checked)', qr.el)?.click() + $('#autohide:not(:checked)', qr.el)?.click() unset: -> - $('input[title=autohide]:checked', qr.el)?.click() + $('#autohide:checked', qr.el)?.click() cb: autohide: (e) ->