From 5b58d8ac59efc3364edbb1b074123ef263066ad3 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 5 Jun 2022 12:40:45 +0000 Subject: [PATCH] Clear page when switching plugins --- public/js/plugin-download.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/plugin-download.js b/public/js/plugin-download.js index c31350c..0f19738 100644 --- a/public/js/plugin-download.js +++ b/public/js/plugin-download.js @@ -72,6 +72,9 @@ const component = () => { }); }, pluginChanged() { + this.manga = undefined; + this.chapters = undefined; + this.mid = undefined; this.loadPlugin(this.pid); localStorage.setItem("plugin", this.pid); },