[Libreoffice-commits] online.git: loleaflet/js
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 31 17:26:32 UTC 2018
loleaflet/js/global.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ab9962ac78da278a41cd86e633afa3eaebe88da8
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Oct 31 19:13:34 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Oct 31 19:25:56 2018 +0200
Correct spelling of window.ThisIsAMobileApp
Weirdly enough, hasn't seemed to have any ill effect, though? Maybe
checking ThisIsAMobileApp here is unnecessary after all?
diff --git a/loleaflet/js/global.js b/loleaflet/js/global.js
index 27a7f3dd5..9640a44dd 100644
--- a/loleaflet/js/global.js
+++ b/loleaflet/js/global.js
@@ -31,7 +31,7 @@ global.getParameterByName = function (name) {
global._ = function (string) {
// In the mobile app case we can't use the stuff from l10n-for-node, as that assumes HTTP.
// So bail out for now.
- if (window.ThisIsaMobileApp) {
+ if (window.ThisIsAMobileApp) {
return string;
} else {
return string.toLocaleString();
More information about the Libreoffice-commits
mailing list