diff --git a/www/common/common-messenger.js b/www/common/common-messenger.js index 5330281ae..0138eb528 100644 --- a/www/common/common-messenger.js +++ b/www/common/common-messenger.js @@ -961,7 +961,7 @@ define([ cb({error:err}); }); channel.messages = []; - } + }; network.on('disconnect', function () { emit('DISCONNECT'); diff --git a/www/common/sframe-common-mailbox.js b/www/common/sframe-common-mailbox.js index 665f8d7be..814966a22 100644 --- a/www/common/sframe-common-mailbox.js +++ b/www/common/sframe-common-mailbox.js @@ -52,7 +52,7 @@ define([ var dismissIcon = h('span.fa.fa-times'); var dismiss = h('div.cp-notification-dismiss', { title: Messages.notifications_dismiss - }, dismissIcon) + }, dismissIcon); dismiss.addEventListener('click', function (e) { e.preventDefault(); e.stopPropagation();