From 552b80fe69b628e5871c4aad439d2b552b609b4c Mon Sep 17 00:00:00 2001 From: JC Brand Date: Fri, 3 Feb 2017 12:25:59 +0000 Subject: [PATCH] Fix typo that came in during bulk renaming --- src/converse-notification.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/converse-notification.js b/src/converse-notification.js index 2f6cd9af9..4d2aee521 100644 --- a/src/converse-notification.js +++ b/src/converse-notification.js @@ -180,7 +180,7 @@ } var n = new Notification(contact.fullname, { body: message, - lang: _converse.i18n.locale_data._converse[""].lang, + lang: _converse.i18n.locale_data.converse[""].lang, icon: 'logo/conversejs.png' }); setTimeout(n.close.bind(n), 5000); @@ -189,7 +189,7 @@ _converse.showContactRequestNotification = function (contact) { var n = new Notification(contact.fullname, { body: __('wants to be your contact'), - lang: _converse.i18n.locale_data._converse[""].lang, + lang: _converse.i18n.locale_data.converse[""].lang, icon: 'logo/conversejs.png' }); setTimeout(n.close.bind(n), 5000); @@ -199,7 +199,7 @@ if (data.klass === 'error' || data.klass === 'warn') { var n = new Notification(data.subject, { body: data.message, - lang: _converse.i18n.locale_data._converse[""].lang, + lang: _converse.i18n.locale_data.converse[""].lang, icon: 'logo/conversejs.png' }); setTimeout(n.close.bind(n), 5000);