check for post after op has been threaded

This commit is contained in:
James Campos 2011-07-31 20:40:18 -07:00
parent affb58c14d
commit b094a4e4dd
2 changed files with 4 additions and 4 deletions

View File

@ -2723,10 +2723,10 @@
Recaptcha.init(); Recaptcha.init();
$.bind(form, 'submit', qr.submit); $.bind(form, 'submit', qr.submit);
} }
threading.init();
if ((id = location.hash.slice(1)) && !$.id(id)) { if ((id = location.hash.slice(1)) && !$.id(id)) {
scrollTo(0, d.body.scrollHeight); scrollTo(0, d.body.scrollHeight);
} }
threading.init();
if (conf['Auto Noko']) { if (conf['Auto Noko']) {
$('.postarea form').action += '?noko'; $('.postarea form').action += '?noko';
} }

View File

@ -2108,14 +2108,14 @@ main =
Recaptcha.init() Recaptcha.init()
$.bind form, 'submit', qr.submit $.bind form, 'submit', qr.submit
#major features
threading.init()
# scroll to bottom if post isn't found # scroll to bottom if post isn't found
# thumbnail generation takes time # thumbnail generation takes time
if (id = location.hash[1..]) and !$.id id if (id = location.hash[1..]) and !$.id id
scrollTo 0, d.body.scrollHeight scrollTo 0, d.body.scrollHeight
#major features
threading.init()
if conf['Auto Noko'] if conf['Auto Noko']
$('.postarea form').action += '?noko' $('.postarea form').action += '?noko'