From 9dea2518625323e34ff5103135ac29114c9b3f82 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 16 Jun 2019 12:57:56 -0500 Subject: [PATCH] Fix typo in notifications.js --- assets/js/notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/notifications.js b/assets/js/notifications.js index 65c456110..b87f7adef 100644 --- a/assets/js/notifications.js +++ b/assets/js/notifications.js @@ -98,8 +98,8 @@ window.addEventListener('load', function (e) { setTimeout(function () { if (!localStorage.getItem('stream')) { notifications = { close: function () { } }; - get_subscriptions(create_notification_stream); localStorage.setItem('stream', true); + get_subscriptions(create_notification_stream); } }, Math.random() * 1000 + 50); } @@ -112,8 +112,8 @@ window.addEventListener('load', function (e) { setTimeout(function () { if (!localStorage.getItem('stream')) { notifications = { close: function () { } }; - get_subscriptions(create_notification_stream); localStorage.setItem('stream', true); + get_subscriptions(create_notification_stream); } }, Math.random() * 1000 + 50); }