[Libreoffice-commits] online.git: loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 26 23:02:56 UTC 2018
loleaflet/src/core/Socket.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit ec23c39687cc1dbc4856f4e83ae30c4ae714ed8b
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Nov 27 01:00:55 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Nov 27 01:01:02 2018 +0200
Don't create a link in the Help>About for LOOLWSD either in the iOS app
Change-Id: Ifa10bf0996258edf32108bde1b922fb6d097c0de
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index d85af967f..1a8c05066 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -264,7 +264,9 @@ L.Socket = L.Class.extend({
var loolwsdVersionObj = JSON.parse(textMsg.substring(textMsg.indexOf('{')));
var h = loolwsdVersionObj.Hash;
if (parseInt(h,16).toString(16) === h.toLowerCase().replace(/^0+/, '')) {
- h = '<a target="_blank" href="https://hub.libreoffice.org/git-online/' + h + '">' + h + '</a>';
+ if (!window.ThisIsTheiOSApp) {
+ h = '<a target="_blank" href="https://hub.libreoffice.org/git-online/' + h + '">' + h + '</a>';
+ }
$('#loolwsd-version').html(loolwsdVersionObj.Version + ' (git hash: ' + h + ')');
}
else {
More information about the Libreoffice-commits
mailing list