From 40d28414d1a94215ff4a3671540047eab4e23ed1 Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 21 Sep 2011 14:27:38 -0700 Subject: [PATCH] unbind init --- 4chan_x.user.js | 1 + script.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index ac2f6d831..04d96c014 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2779,6 +2779,7 @@ Main = { init: function() { var callback, cutoff, hiddenThreads, id, lastChecked, now, op, table, timestamp, tzOffset, _i, _j, _k, _l, _len, _len2, _len3, _len4, _ref, _ref2, _ref3, _ref4, _ref5; + $.unbind(document, 'DOMContentLoaded', Main.init); if (location.hostname === 'sys.4chan.org') { QR.sys(); return; diff --git a/script.coffee b/script.coffee index d6dfe5ca4..8979e9c2a 100644 --- a/script.coffee +++ b/script.coffee @@ -2125,6 +2125,7 @@ firstRun = Main = init: -> + $.unbind document, 'DOMContentLoaded', Main.init if location.hostname is 'sys.4chan.org' QR.sys() return