will no longer run app.setTheme on init if no theme was selected

This commit is contained in:
booploops 2022-02-02 21:37:55 -08:00
parent 09b8960038
commit 72c672c480

View file

@ -586,7 +586,9 @@ const app = new Vue({
}, },
async init() { async init() {
let self = this let self = this
this.setTheme() if(this.cfg.visual.theme != "default.less" || this.cfg.visual.theme != "") {
this.setTheme()
}
this.setLz(this.cfg.general.language) this.setLz(this.cfg.general.language)
this.setLzManual() this.setLzManual()
clearTimeout(this.hangtimer) clearTimeout(this.hangtimer)