[Libreoffice-commits] online.git: loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 26 22:21:25 UTC 2018
loleaflet/src/core/Socket.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 191d7bfa35a15c47634bf6901d8b5351e4a9ca52
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Nov 27 00:13:16 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Nov 27 00:18:53 2018 +0200
Don't create a link to the git log in Help:About in the iOS app
We don't want to bother with creating a new view showing the link for
now.
Change-Id: I917a7646af4b472d3a2d32389ed5bc63a4157b7a
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 1d66ce854..d85af967f 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -279,7 +279,7 @@ L.Socket = L.Class.extend({
else if (textMsg.startsWith('lokitversion ')) {
var lokitVersionObj = JSON.parse(textMsg.substring(textMsg.indexOf('{')));
h = lokitVersionObj.BuildId.substring(0, 7);
- if (parseInt(h,16).toString(16) === h.toLowerCase().replace(/^0+/, '')) {
+ if (!window.ThisIsTheiOSApp && parseInt(h,16).toString(16) === h.toLowerCase().replace(/^0+/, '')) {
h = '<a target="_blank" href="https://hub.libreoffice.org/git-core/' + h + '">' + h + '</a>';
}
$('#lokit-version').html(lokitVersionObj.ProductName + ' ' +
More information about the Libreoffice-commits
mailing list