unbind firstrun

This commit is contained in:
James Campos 2011-06-20 12:17:37 -07:00
parent a4869da5d4
commit 0b3fee0822
2 changed files with 3 additions and 1 deletions

View File

@ -2507,7 +2507,8 @@
close: function() { close: function() {
$.setValue('firstrun', true); $.setValue('firstrun', true);
$.rm($('style.firstrun', d.head)); $.rm($('style.firstrun', d.head));
return $.rm($('#overlay')); $.rm($('#overlay'));
return $.unbind(window, 'click', firstRun.close);
} }
}; };
NAMESPACE = 'AEOS.4chan_x.'; NAMESPACE = 'AEOS.4chan_x.';

View File

@ -1931,6 +1931,7 @@ firstRun =
$.setValue 'firstrun', true $.setValue 'firstrun', true
$.rm $ 'style.firstrun', d.head $.rm $ 'style.firstrun', d.head
$.rm $ '#overlay' $.rm $ '#overlay'
$.unbind window, 'click', firstRun.close
#main #main
NAMESPACE = 'AEOS.4chan_x.' NAMESPACE = 'AEOS.4chan_x.'