loleaflet/src/control/Control.MobileTopBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit df205d63609aeaa381549166a26a6d64dcefc5e0 Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Fri May 15 23:07:43 2020 +0200 Commit: Aron Budea <aron.bu...@collabora.com> CommitDate: Sat May 16 00:30:55 2020 +0200 loleaflet: Empty user list flashes up at start on mobile Regression from 610e2dbd583da4537e8cdef7f10318dc43e8c269 Change-Id: I35809de56d9533381f0c0d2bdfcd5587e065ce9f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94336 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Aron Budea <aron.bu...@collabora.com> diff --git a/loleaflet/src/control/Control.MobileTopBar.js b/loleaflet/src/control/Control.MobileTopBar.js index ba727279f..acfa82c7d 100644 --- a/loleaflet/src/control/Control.MobileTopBar.js +++ b/loleaflet/src/control/Control.MobileTopBar.js @@ -33,7 +33,7 @@ L.Control.MobileTopBar = L.Control.extend({ {type: 'button', id: 'insertion_mobile_wizard', img: 'insertion_mobile_wizard', disabled: true}, {type: 'button', id: 'insertcomment', img: 'insertcomment', disabled: true}, {type: 'button', id: 'fullscreen', img: 'fullscreen', hint: _UNO('.uno:FullScreen', 'text')}, - {type: 'drop', id: 'userlist', img: 'users', html: L.control.createUserListWidget()}, + {type: 'drop', id: 'userlist', img: 'users', hidden: true, html: L.control.createUserListWidget()}, ]; } else if (docType == 'spreadsheet') { return [ @@ -47,7 +47,7 @@ L.Control.MobileTopBar = L.Control.extend({ {type: 'button', id: 'insertion_mobile_wizard', img: 'insertion_mobile_wizard', disabled: true}, // {type: 'button', id: 'insertcomment', img: 'insertcomment', disabled: true}, {type: 'button', id: 'fullscreen', img: 'fullscreen', hint: _UNO('.uno:FullScreen', 'text')}, - {type: 'drop', id: 'userlist', img: 'users', html: L.control.createUserListWidget()}, + {type: 'drop', id: 'userlist', img: 'users', hidden: true, html: L.control.createUserListWidget()}, ]; } else if (docType == 'presentation') { return [ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits