Fix typo in notifications.js

pull/598/head
Omar Roth 6 years ago
parent 17edfd6573
commit 9dea251862
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -98,8 +98,8 @@ window.addEventListener('load', function (e) {
setTimeout(function () { setTimeout(function () {
if (!localStorage.getItem('stream')) { if (!localStorage.getItem('stream')) {
notifications = { close: function () { } }; notifications = { close: function () { } };
get_subscriptions(create_notification_stream);
localStorage.setItem('stream', true); localStorage.setItem('stream', true);
get_subscriptions(create_notification_stream);
} }
}, Math.random() * 1000 + 50); }, Math.random() * 1000 + 50);
} }
@ -112,8 +112,8 @@ window.addEventListener('load', function (e) {
setTimeout(function () { setTimeout(function () {
if (!localStorage.getItem('stream')) { if (!localStorage.getItem('stream')) {
notifications = { close: function () { } }; notifications = { close: function () { } };
get_subscriptions(create_notification_stream);
localStorage.setItem('stream', true); localStorage.setItem('stream', true);
get_subscriptions(create_notification_stream);
} }
}, Math.random() * 1000 + 50); }, Math.random() * 1000 + 50);
} }

Loading…
Cancel
Save