From 43f0d9bb68570cb7295d01fb7c60e379e6423c95 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 16 Apr 2024 17:02:33 +0200 Subject: [PATCH] wait 1 second before refreshing --- files/assets/js/orgy_file.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/assets/js/orgy_file.js b/files/assets/js/orgy_file.js index 3ebb3fa67..82d0becbc 100644 --- a/files/assets/js/orgy_file.js +++ b/files/assets/js/orgy_file.js @@ -46,7 +46,9 @@ orgy_file.addEventListener("timeupdate", function() { }); orgy_file.addEventListener("ended", function() { - location.reload() + setTimeout(function() { + location.reload() + }, 1000); }); function add_waiting_listener() {