mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:05:56 +00:00
fix prefs reset not working properly
This commit is contained in:
@@ -975,13 +975,8 @@ function validatePrefsReset() {
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
onComplete: function(transport) {
|
||||
var msg = transport.responseText;
|
||||
if (msg.match("PREFS_THEME_CHANGED")) {
|
||||
window.location.reload();
|
||||
} else {
|
||||
notify_info(msg);
|
||||
selectTab();
|
||||
}
|
||||
updatePrefsList();
|
||||
notify_info(transport.responseText);
|
||||
} });
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user