removed dead code
This commit is contained in:
parent
5e88cd90f5
commit
4863b992f2
|
@ -263,8 +263,6 @@ class D4SStorageTree extends D4SStorageHtmlElement {
|
|||
this.addEventListener(D4SStorageTree.folder_data_event_name, this.folderDataEventHandler);
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", this.registerOtherListeners.bind(this));
|
||||
} else {
|
||||
this.registerListeners();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -603,8 +601,6 @@ class D4SStorageFolder extends D4SStorageHtmlElement {
|
|||
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", this.registerOtherListeners.bind(this));
|
||||
} else {
|
||||
this.registerListeners();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue