From 1fc89571bd490f7363f7a838de807cc2b7fc2b8f Mon Sep 17 00:00:00 2001 From: LingYuZhao Date: Thu, 11 Apr 2024 14:03:12 +0800 Subject: [PATCH] Update main.js --- web/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/js/main.js b/web/js/main.js index f4093e5..aca1056 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -1,3 +1,5 @@ +const jokerBoxPopUp = new JokerBox_popUp(document.getElementById("show_area")); + function reloadFsPath(element) { let searchParams = DiskMirrorFront.search_Params("path"); if (element) { @@ -45,7 +47,6 @@ function mkdir() { } window.onload = function () { - const jokerBoxPopUp = new JokerBox_popUp(document.getElementById("show_area")); let fsList; try { diskMirror.setSk(parseInt(searchParams1[searchParams1.length - 1]), indexConfig.domain)