From b5b914878733d9c1a7f95f833dcda15cad9770d9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 13 Sep 2018 14:11:49 +0300 Subject: add download complete notifications --- index.php | 1 + js/index.js | 31 +++++++++++++++++++++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index e3610d2..22eac6c 100644 --- a/index.php +++ b/index.php @@ -171,6 +171,7 @@ + " + data.title + ""); + + window.clearTimeout(_dl_progress_timeout); + + _dl_progress_timeout = window.setTimeout(function() { + $(".dl-progress").fadeOut(); + }, 5*1000); + }); }); } -- cgit v1.2.3