Fix ThreadUpdater Autoscroll

This commit is contained in:
Zixaphir 2014-03-09 15:30:15 -07:00
parent 865c5331ba
commit 8d0949a7af
3 changed files with 3 additions and 3 deletions

View File

@ -9832,7 +9832,7 @@
if (Conf['Bottom Scroll']) { if (Conf['Bottom Scroll']) {
return window.scrollTo(0, d.body.clientHeight); return window.scrollTo(0, d.body.clientHeight);
} else { } else {
return Header.scrollTo(posts.nodes[0]); return Header.scrollTo(posts[0].nodes.root);
} }
} }
} }

View File

@ -9847,7 +9847,7 @@
if (Conf['Bottom Scroll']) { if (Conf['Bottom Scroll']) {
return window.scrollTo(0, d.body.clientHeight); return window.scrollTo(0, d.body.clientHeight);
} else { } else {
return Header.scrollTo(posts.nodes[0]); return Header.scrollTo(posts[0].nodes.root);
} }
} }
} }

View File

@ -347,4 +347,4 @@ ThreadUpdater =
if Conf['Bottom Scroll'] if Conf['Bottom Scroll']
window.scrollTo 0, d.body.clientHeight window.scrollTo 0, d.body.clientHeight
else else
Header.scrollTo posts.nodes[0] Header.scrollTo posts[0].nodes.root