From f833fc75759221ee4300ad8bcca5ae0693096118 Mon Sep 17 00:00:00 2001 From: James Campos Date: Mon, 13 Jun 2011 17:43:19 -0700 Subject: [PATCH] cleanup --- 4chan_x.user.js | 3 +-- script.coffee | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index a95fecb43..87ebd3c3c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1019,8 +1019,7 @@ }, rm: function() { $.rm($('#options')); - $.rm($('.overlay')); - return window.removeEventListener('mousedown', options.rm, false); + return $.rm($('.overlay')); }, tab: function() { var content, div, _i, _len, _results; diff --git a/script.coffee b/script.coffee index d630bc8c8..f963f7456 100644 --- a/script.coffee +++ b/script.coffee @@ -800,7 +800,6 @@ options = rm: -> $.rm $ '#options' $.rm $ '.overlay' - window.removeEventListener 'mousedown', options.rm, false tab: -> content = $$ '#main, #flavors, #time'