From 3748d24d433531335b400e8554e43ec8ec4cdc03 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Sun, 21 Oct 2018 19:11:31 +0200 Subject: [PATCH] Fix animation --- server/static/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/worker.js b/server/static/worker.js index 11ccb17..04a06d2 100644 --- a/server/static/worker.js +++ b/server/static/worker.js @@ -26,7 +26,7 @@ function deletecard(jobid) { function addcard(jobid) { var text = '
Creating Image
'; $('#cards').append(text); - $('#' + jobid).show(); + $('html,body').animate({scrollTop: $('#' + jobid).offset().top}); } function failcard(jobid) {