summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2018-05-24 10:32:28 -0400
committerHenry Castro <hcastro@collabora.com>2018-05-24 10:36:08 -0400
commit4cc7e0197b6b37afa4bac5a5b7d7ef2f0c2145b1 (patch)
tree143db78588c0ae634852e6c6090fd64c12642231
parentcf31e5719337ff9802491310974a09acfd445066 (diff)
loleaflet: fixed js lint no-native-reassign
Change-Id: If5cd136c50638201fa23a94da9184111d1dcb5e1
-rw-r--r--loleaflet/src/core/Socket.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index edb1c2435..43a1ac752 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -608,12 +608,12 @@ L.Socket = L.Class.extend({
textMsg = textMsg.replace(/{connections}/g, command.params[1]);
textMsg = textMsg.replace(/{productname}/g, (typeof brandProductName !== 'undefined' ?
brandProductName : 'LibreOffice Online'));
- brandProductFAQURL = (typeof brandProductFAQURL !== 'undefined') ?
+ var brandFAQURL = (typeof brandProductFAQURL !== 'undefined') ?
brandProductFAQURL : 'https://hub.libreoffice.org/professional-online-support';
this._map.fire('infobar',
{
msg: textMsg,
- action: brandProductFAQURL,
+ action: brandFAQURL,
actionLabel: errorMessages.infoandsupport
});
}