1
0
Fork 0

Mind the animations

This commit is contained in:
Alexander Yakovlev 2021-12-11 11:06:46 +07:00
parent 1e052b536d
commit 855f8d636b
Signed by: oreolek
GPG Key ID: 8D24103F5EE2A6C0
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function continueToNextChoice () {
} else {
jQuery("#options").html("");
}
if (window.progress.length > 0) {
if (window.progress.length > 0 && !jQuery('html').is(':animated') && !jQuery('body').is(':animated')) {
return jQuery('html, body').animate({
scrollTop: scrollTo
}, 800);