loleaflet/src/control/Control.Menubar.js | 1 + 1 file changed, 1 insertion(+)
New commits: commit 1b79f11e94503cbce88c03530f796409b447f6e1 Author: Pedro Pinto Silva <pedro.si...@collabora.com> AuthorDate: Thu Nov 21 15:09:56 2019 +0100 Commit: Pedro Pinto da Silva <pedro.si...@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.si...@collabora.com> Tested-by: Pedro Pinto da Silva <pedro.si...@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'; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits