[Libreoffice-commits] online.git: loleaflet/src
Pedro Pinto Silva (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 21 14:18:54 UTC 2019
loleaflet/src/control/Control.Menubar.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1b79f11e94503cbce88c03530f796409b447f6e1
Author: Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Thu Nov 21 15:09:56 2019 +0100
Commit: Pedro Pinto da Silva <pedro.silva at collabora.com>
CommitDate: Thu Nov 21 15:18:33 2019 +0100
Add style class to Menubar depending on the currect doctype
Change-Id: I039027a95547edc4c7a6a91bea6ab4d1f2f5d1d6
Reviewed-on: https://gerrit.libreoffice.org/83401
Reviewed-by: Pedro Pinto da Silva <pedro.silva at collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva at collabora.com>
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index b5cf4a40b..3745141c1 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -1209,6 +1209,7 @@ L.Control.Menubar = L.Control.extend({
} else if (docType === 'presentation' || docType === 'drawing') {
iconClass += ' impress-icon-img';
}
+ $('.main-nav').addClass(docType += '-color-indicator');
var liItem = L.DomUtil.create('li', '');
liItem.id = 'document-header';
More information about the Libreoffice-commits
mailing list