more scroll checks
This commit is contained in:
parent
f236d2a7eb
commit
cf878694c3
@ -2781,7 +2781,7 @@
|
||||
$.bind(form, 'submit', qr.submit);
|
||||
}
|
||||
threading.init();
|
||||
if ((id = location.hash.slice(1)) && /\d/.test(id[0]) && !$.id(id)) {
|
||||
if (g.REPLY && (id = location.hash.slice(1)) && /\d/.test(id[0]) && !$.id(id)) {
|
||||
scrollTo(0, d.body.scrollHeight);
|
||||
}
|
||||
if (conf['Auto Noko']) {
|
||||
|
||||
@ -2163,7 +2163,7 @@ main =
|
||||
|
||||
# scroll to bottom if post isn't found
|
||||
# thumbnail generation takes time
|
||||
if (id = location.hash[1..]) and /\d/.test(id[0]) and !$.id(id)
|
||||
if g.REPLY and (id = location.hash[1..]) and /\d/.test(id[0]) and !$.id(id)
|
||||
scrollTo 0, d.body.scrollHeight
|
||||
|
||||
if conf['Auto Noko']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user