mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed promises and its race conditions
This commit is contained in:
@ -51,7 +51,7 @@ App.Presenters.UserBrowsingSettingsPresenter = function(
|
||||
},
|
||||
};
|
||||
|
||||
browsingSettings.setSettings(newSettings)
|
||||
promise.wait(browsingSettings.setSettings(newSettings))
|
||||
.then(function() {
|
||||
messagePresenter.showInfo($messages, 'Browsing settings updated!');
|
||||
});
|
||||
|
Reference in New Issue
Block a user