[Libreoffice-commits] online.git: loleaflet/src

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 28 18:57:04 UTC 2019


 loleaflet/src/control/Control.Toolbar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a5116600b30450f48b4f5f75e5c72861e2d2e00e
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon May 27 18:20:44 2019 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Oct 28 19:56:14 2019 +0100

    Enable hamburger-menu button by default
    
    Change-Id: If73c7fd11de6fc40bc2065af958292ef51a17482

diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index cd2dd2da6..7eb1d3ea4 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -2051,7 +2051,7 @@ function onUpdatePermission(e) {
 	var toolbar = w2ui['editbar'];
 	if (toolbar) {
 		// always enabled items
-		var enabledButtons = ['closemobile', 'undo', 'redo'];
+		var enabledButtons = ['closemobile', 'undo', 'redo', 'hamburger-tablet'];
 
 		// copy the first array
 		var items = toolbar.items.slice();


More information about the Libreoffice-commits mailing list