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");
|
$('#settings').modal("hide");
|
||||||
|
|
||||||
if (themeChanged) {
|
|
||||||
document.location.reload(true);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.saveAdvanced = function () {
|
$scope.saveAdvanced = function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user