From e542be75a3ac8186b42c41bdffa7a3144422e887 Mon Sep 17 00:00:00 2001 From: ClemDee Date: Fri, 19 Jul 2019 11:37:50 +0200 Subject: [PATCH] Don't hide download panel if mouse over --- www/common/sframe-common-file.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/www/common/sframe-common-file.js b/www/common/sframe-common-file.js index f400511a1..ef537811b 100644 --- a/www/common/sframe-common-file.js +++ b/www/common/sframe-common-file.js @@ -183,8 +183,14 @@ define([ clearTimeout(queue.to); queue.to = window.setTimeout(function () { if (config.keepTable) { return; } - File.$container.fadeOut(); - }, 3000); + // don't hide panel if mouse over + if (File.$container.is(":hover")) { + File.$container.one("mouseleave", function () { File.$container.fadeOut(); }); + } + else { + File.$container.fadeOut(); + } + }, 20000); return; } if (queue.inProgress) { return; }