diff --git a/svelte/src/user_file_manager/DirectoryElement.svelte b/svelte/src/user_file_manager/DirectoryElement.svelte
index 1222ea1..c74aff7 100644
--- a/svelte/src/user_file_manager/DirectoryElement.svelte
+++ b/svelte/src/user_file_manager/DirectoryElement.svelte
@@ -3,7 +3,6 @@ import { formatDataVolume, formatDate } from "../util/Formatting.svelte";
// Main elements
let directoryArea
-let directorySorters
let nodeContainer
let statusBar = "Loading..."
@@ -71,12 +70,6 @@ export const search = (term) => {
for (let i in allFiles) {
fileName = allFiles[i].name.toLowerCase()
- // If there's an exact match we'll show it as the only result
- // if (fileName === term) {
- // allFiles[i].filtered = false
- // break
- // }
-
if (fileName.includes(term)) {
// If a file name contains the search term we include it in the results
allFiles[i].filtered = false
@@ -229,12 +222,6 @@ const render_visible_files = () => {
if (selectedFiles !== 0) {
statusBar += ", "+selectedFiles+" selected ("+formatDataVolume(selectedSize, 4)+")"
}
-
- console.debug(
- "start " + start +
- " end " + end +
- " children " + nodeContainer.childElementCount
- )
}
let selectionMode = false
@@ -300,7 +287,7 @@ const node_click = (index) => {