Fix theme switching with Firefox

This commit is contained in:
varjolintu 2020-02-29 10:17:11 +02:00
parent 630f4f4b2f
commit 0e6e7cd069

View file

@ -83,9 +83,9 @@ options.initGeneralSettings = function() {
$('#tab-general-settings select#colorTheme').val(options.settings['colorTheme']);
}
$('#tab-general-settings select:first').change(function() {
$('#tab-general-settings select:first').change(async function() {
options.settings['colorTheme'] = $(this).val();
options.saveSettings();
await options.saveSettingsPromise();
location.reload();
});