master #12
|
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue