mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-04-14 00:16:08 +08:00
auto scrollEnd
This commit is contained in:
@@ -237,6 +237,7 @@ class App{
|
|||||||
).join('<br>')
|
).join('<br>')
|
||||||
}</li>`);
|
}</li>`);
|
||||||
li.appendTo('#lifeTrajectory');
|
li.appendTo('#lifeTrajectory');
|
||||||
|
$("#lifeTrajectory").scrollTop($("#lifeTrajectory")[0].scrollHeight);
|
||||||
if(isEnd) {
|
if(isEnd) {
|
||||||
this.#isEnd = true;
|
this.#isEnd = true;
|
||||||
trajectoryPage.find('#summary').show();
|
trajectoryPage.find('#summary').show();
|
||||||
|
|||||||
Reference in New Issue
Block a user