From 0fbf620f22ae0ea59933989c93f1341622ab583d Mon Sep 17 00:00:00 2001 From: Gnome Ann <> Date: Thu, 26 Aug 2021 15:15:42 -0400 Subject: [PATCH] Added scroll-to-bottom for closing genseqs/W Info Scroll time is halved now also. --- static/application.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/static/application.js b/static/application.js index 185c7448..b9b6a527 100644 --- a/static/application.js +++ b/static/application.js @@ -391,6 +391,12 @@ function hideWaitAnimation() { $('#waitanim').remove(); } +function scrollToBottom() { + setTimeout(function () { + $('#gamescreen').animate({scrollTop: $('#gamescreen').prop('scrollHeight')}, 500); + }, 5); +} + function hide(refs) { for(i=0; i