removed dead code

This commit is contained in:
dcore94 2023-10-06 16:18:57 +02:00
parent 5e88cd90f5
commit 4863b992f2
1 changed files with 0 additions and 4 deletions

View File

@ -263,8 +263,6 @@ class D4SStorageTree extends D4SStorageHtmlElement {
this.addEventListener(D4SStorageTree.folder_data_event_name, this.folderDataEventHandler); this.addEventListener(D4SStorageTree.folder_data_event_name, this.folderDataEventHandler);
if (document.readyState === "loading") { if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", this.registerOtherListeners.bind(this)); document.addEventListener("DOMContentLoaded", this.registerOtherListeners.bind(this));
} else {
this.registerListeners();
} }
} }
@ -603,8 +601,6 @@ class D4SStorageFolder extends D4SStorageHtmlElement {
if (document.readyState === "loading") { if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", this.registerOtherListeners.bind(this)); document.addEventListener("DOMContentLoaded", this.registerOtherListeners.bind(this));
} else {
this.registerListeners();
} }
} }