diff --git a/page/GalleryPage.ts b/page/GalleryPage.ts index e71981b..07d18b3 100644 --- a/page/GalleryPage.ts +++ b/page/GalleryPage.ts @@ -122,11 +122,6 @@ class Image { return re; } async load_image(reload = true) { - const src = this.src; - if (src) { - const re = await this.#load_image(src); - if (re) return re; - } if (!reload) return; await this.load(); const src2 = this.src; diff --git a/page/MPVPage.ts b/page/MPVPage.ts index 25c0297..124c764 100644 --- a/page/MPVPage.ts +++ b/page/MPVPage.ts @@ -172,11 +172,6 @@ class MPVImage { return re; } async load_image(reload = true) { - const src = this.src; - if (src) { - const re = await this.#load_image(src); - if (re) return re; - } if (!reload) return; await this.load(); const src2 = this.src;