Commit 552b80fe authored by JC Brand's avatar JC Brand

Fix typo that came in during bulk renaming

parent 78b945ed
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
} }
var n = new Notification(contact.fullname, { var n = new Notification(contact.fullname, {
body: message, body: message,
lang: _converse.i18n.locale_data._converse[""].lang, lang: _converse.i18n.locale_data.converse[""].lang,
icon: 'logo/conversejs.png' icon: 'logo/conversejs.png'
}); });
setTimeout(n.close.bind(n), 5000); setTimeout(n.close.bind(n), 5000);
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
_converse.showContactRequestNotification = function (contact) { _converse.showContactRequestNotification = function (contact) {
var n = new Notification(contact.fullname, { var n = new Notification(contact.fullname, {
body: __('wants to be your contact'), body: __('wants to be your contact'),
lang: _converse.i18n.locale_data._converse[""].lang, lang: _converse.i18n.locale_data.converse[""].lang,
icon: 'logo/conversejs.png' icon: 'logo/conversejs.png'
}); });
setTimeout(n.close.bind(n), 5000); setTimeout(n.close.bind(n), 5000);
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
if (data.klass === 'error' || data.klass === 'warn') { if (data.klass === 'error' || data.klass === 'warn') {
var n = new Notification(data.subject, { var n = new Notification(data.subject, {
body: data.message, body: data.message,
lang: _converse.i18n.locale_data._converse[""].lang, lang: _converse.i18n.locale_data.converse[""].lang,
icon: 'logo/conversejs.png' icon: 'logo/conversejs.png'
}); });
setTimeout(n.close.bind(n), 5000); setTimeout(n.close.bind(n), 5000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment