From b094a4e4dddf9137abd5e2f57a3f55f5bf8816ad Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 31 Jul 2011 20:40:18 -0700 Subject: [PATCH] check for post after op has been threaded --- 4chan_x.user.js | 2 +- script.coffee | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 17a4b7555..b92cc234b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2723,10 +2723,10 @@ Recaptcha.init(); $.bind(form, 'submit', qr.submit); } + threading.init(); if ((id = location.hash.slice(1)) && !$.id(id)) { scrollTo(0, d.body.scrollHeight); } - threading.init(); if (conf['Auto Noko']) { $('.postarea form').action += '?noko'; } diff --git a/script.coffee b/script.coffee index 56fd50708..b57115ab8 100644 --- a/script.coffee +++ b/script.coffee @@ -2108,14 +2108,14 @@ main = Recaptcha.init() $.bind form, 'submit', qr.submit + #major features + threading.init() + # scroll to bottom if post isn't found # thumbnail generation takes time if (id = location.hash[1..]) and !$.id id scrollTo 0, d.body.scrollHeight - #major features - threading.init() - if conf['Auto Noko'] $('.postarea form').action += '?noko'