diff --git a/src/scripts/tutti/5_1_notifications.js b/src/scripts/tutti/5_1_notifications.js index a857a68d..68a3e35f 100644 --- a/src/scripts/tutti/5_1_notifications.js +++ b/src/scripts/tutti/5_1_notifications.js @@ -354,11 +354,12 @@ $(function() { function getNotificationsLoop() { + //- Fetch the actual notifications getNotifications(); - - var getLoop = setTimeout(function () { + //- Call itself again in 60 seconds + setTimeout(function () { getNotificationsLoop(); - }, 30000); + }, 60 * 1000); } /* Returns a more-or-less reasonable message given an error response object. */