Fix setting saving
This commit is contained in:
parent
a85d8e19d9
commit
707afde649
11
js/main.js
11
js/main.js
|
@ -85,7 +85,7 @@ betterDiscordIPC.on('asynchronous-reply', (event, arg) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule, customCssEditor, dMode;
|
var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule, customCssEditor, dMode;
|
||||||
var jsVersion = 1.78;
|
var jsVersion = 1.79;
|
||||||
var supportedVersion = "0.2.81";
|
var supportedVersion = "0.2.81";
|
||||||
|
|
||||||
var mainObserver;
|
var mainObserver;
|
||||||
|
@ -188,6 +188,13 @@ var bdchangelog = {
|
||||||
"text": "Replace Discord blue with BetterDiscord blue!",
|
"text": "Replace Discord blue with BetterDiscord blue!",
|
||||||
"img": ""
|
"img": ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"fixes": {
|
||||||
|
"0a": {
|
||||||
|
"title": "1.79 : Settings Saving",
|
||||||
|
"text": "Fixed settings not saving with new settings panel",
|
||||||
|
"img": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4937,6 +4944,8 @@ class V2_SettingsPanel {
|
||||||
} else {
|
} else {
|
||||||
dMode.disable();
|
dMode.disable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mainCore.saveSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
renderSidebar() {
|
renderSidebar() {
|
||||||
|
|
Loading…
Reference in New Issue