|
|
@@ -83,6 +83,7 @@ class MediaStorage extends EventTarget
|
|
|
|
|
|
rebuildMetaList() {
|
|
|
this.#reset();
|
|
|
+ this.dispatchEvent(new CustomEvent("rebuildMedia"));
|
|
|
window.chronology.reset();
|
|
|
this.downloadMetaList();
|
|
|
}
|
|
|
@@ -91,6 +92,7 @@ class MediaStorage extends EventTarget
|
|
|
if (this.isLoading())
|
|
|
return;
|
|
|
this.#isLoading = true;
|
|
|
+ document.getElementById("pch-infiniteScrollLoading").classList.remove("hidden");
|
|
|
LoadingTasks.push(() => {
|
|
|
return new Promise(ok => {
|
|
|
let chronology = window.chronology.isInitialized() ? "" : "&chronology"
|