From 4cdd2bf776e3cbf4610f8bdb15cab549749ea673 Mon Sep 17 00:00:00 2001 From: Zedifus Date: Fri, 3 Jun 2022 19:50:58 +0100 Subject: [PATCH] Remove unused code --- .../templates/server/bedrock_wizard.html | 29 ++++--------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/app/frontend/templates/server/bedrock_wizard.html b/app/frontend/templates/server/bedrock_wizard.html index e700b1a1..42ab590c 100644 --- a/app/frontend/templates/server/bedrock_wizard.html +++ b/app/frontend/templates/server/bedrock_wizard.html @@ -133,7 +133,7 @@ - +
@@ -367,7 +367,7 @@ function hide(event) { }catch{ document.getElementById('files-tree').innerHTML = text; } - + document.getElementsByClassName('files-tree-title')[0].setAttribute('data-path', serverDir); document.getElementsByClassName('files-tree-title')[0].setAttribute('data-name', 'Files'); @@ -382,7 +382,7 @@ function hide(event) { document.getElementById(path+"span").classList.toggle("tree-caret-down"); document.getElementById(path+"span").classList.toggle("tree-caret"); } - + function getDirView(event) { path = event.target.parentElement.getAttribute('data-path'); @@ -417,7 +417,7 @@ function hide(event) { } var toggler = document.getElementById(path); - + if (toggler.classList.contains('files-tree-title')){ document.getElementById(path+"span").addEventListener("click", function caretListener() { document.getElementById(path+"ul").classList.toggle("d-block"); @@ -442,27 +442,10 @@ function hide(event) { document.getElementById('main-tree-input').setAttribute('value', data.path) getTreeView(data.path); show_file_tree(); - + }, 5000); }); } - -{% end %} \ No newline at end of file +{% end %}