From 7134eb2eb8ae8f4f0dc1666ad70f5227c5e84d77 Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Mon, 4 Sep 2023 19:40:27 -0400 Subject: [PATCH] Appease sonar --- app/frontend/static/assets/js/shared/root-dir.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/frontend/static/assets/js/shared/root-dir.js b/app/frontend/static/assets/js/shared/root-dir.js index 2a6f58fd..7513b9b8 100644 --- a/app/frontend/static/assets/js/shared/root-dir.js +++ b/app/frontend/static/assets/js/shared/root-dir.js @@ -44,11 +44,11 @@ async function getTreeView(path, unzip = false, upload = false) { if (responseData.status === "ok") { console.log(responseData); process_tree_response(responseData); - var x = document.querySelector('.bootbox'); + let x = document.querySelector('.bootbox'); if (x) { x.remove() } - var x = document.querySelector('.modal-backdrop'); + x = document.querySelector('.modal-backdrop'); if (x) { x.remove() } @@ -73,7 +73,7 @@ function process_tree_response(response) { } let path = response.data.root_path.path; $(".root-input").val(response.data.root_path.path); - text = `