mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-24 00:03:14 -05:00
Clear page when switching plugins
This commit is contained in:
@@ -72,6 +72,9 @@ const component = () => {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
pluginChanged() {
|
pluginChanged() {
|
||||||
|
this.manga = undefined;
|
||||||
|
this.chapters = undefined;
|
||||||
|
this.mid = undefined;
|
||||||
this.loadPlugin(this.pid);
|
this.loadPlugin(this.pid);
|
||||||
localStorage.setItem("plugin", this.pid);
|
localStorage.setItem("plugin", this.pid);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user