Prevent annoying error messages when notification request fails

This commit is contained in:
Oliver Walters 2022-04-19 20:28:35 +10:00
parent cffeb62bd1
commit 7531ef8e5f

View File

@ -171,6 +171,9 @@ function notificationCheck(force = false) {
{
success: function(response) {
updateNotificationIndicator(response.length);
},
error: function(xhr) {
console.warn("Could not access server: /api/notifications");
}
}
);