scroll to bottom if post isn't found. fixes #202
This commit is contained in:
parent
0775acbba3
commit
6bd2353d1d
@ -2716,6 +2716,9 @@
|
||||
Recaptcha.init();
|
||||
$.bind(form, 'submit', qr.submit);
|
||||
}
|
||||
if ((id = location.hash.slice(1)) && !$.id(id)) {
|
||||
scrollTo(0, d.body.scrollHeight);
|
||||
}
|
||||
threading.init();
|
||||
if (conf['Auto Noko']) {
|
||||
$('.postarea form').action += '?noko';
|
||||
|
||||
@ -2106,6 +2106,9 @@ main =
|
||||
Recaptcha.init()
|
||||
$.bind form, 'submit', qr.submit
|
||||
|
||||
if (id = location.hash[1..]) and !$.id id
|
||||
scrollTo 0, d.body.scrollHeight
|
||||
|
||||
#major features
|
||||
threading.init()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user