Fix typo in notifications.js

This commit is contained in:
Omar Roth 2019-06-16 12:57:56 -05:00
parent 17edfd6573
commit 9dea251862
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }