gui: Don't reload concurrently with saving config when changing theme (fixes #4127)
This commit is contained in:
parent
d2699a20fc
commit
6386d079b0
|
@ -1101,14 +1101,14 @@ angular.module('syncthing.core')
|
|||
});
|
||||
});
|
||||
|
||||
$scope.saveConfig();
|
||||
$scope.saveConfig(function () {
|
||||
if (themeChanged) {
|
||||
document.location.reload(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$('#settings').modal("hide");
|
||||
|
||||
if (themeChanged) {
|
||||
document.location.reload(true);
|
||||
}
|
||||
};
|
||||
|
||||
$scope.saveAdvanced = function () {
|
||||
|
|
Loading…
Reference in New Issue