tweak auto noko cookies

This commit is contained in:
James Campos 2011-06-25 11:15:47 -07:00
parent 0f4a5891f2
commit 60d4e19e50
2 changed files with 4 additions and 4 deletions

View File

@ -2684,9 +2684,9 @@
$.bind(form, 'submit', qr.cb.submit); $.bind(form, 'submit', qr.cb.submit);
} }
if ($.config('Auto Noko')) { if ($.config('Auto Noko')) {
document.cookie = "" + NAMESPACE + "auto_noko=true;path=/;domain=.4chan.org"; document.cookie = "" + NAMESPACE + "auto_noko;path=/;domain=.4chan.org";
} else { } else {
document.cookie = "" + NAMESPACE + "auto_noko=false;path=/;domain=.4chan.org"; document.cookie = "path=/;domain=.4chan.org";
} }
if ($.config('Cooldown')) { if ($.config('Cooldown')) {
cooldown.init(); cooldown.init();

View File

@ -2097,9 +2097,9 @@ main =
#major features #major features
if $.config 'Auto Noko' if $.config 'Auto Noko'
document.cookie = "#{NAMESPACE}auto_noko=true;path=/;domain=.4chan.org" document.cookie = "#{NAMESPACE}auto_noko;path=/;domain=.4chan.org"
else else
document.cookie = "#{NAMESPACE}auto_noko=false;path=/;domain=.4chan.org" document.cookie = "path=/;domain=.4chan.org"
if $.config 'Cooldown' if $.config 'Cooldown'
cooldown.init() cooldown.init()