loleaflet/src/control/Control.Notebookbar.js | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit c0b4eec80b63bacb7589b5c07d99c75a7c9a21c9 Author: Szymon Kłos <[email protected]> AuthorDate: Tue Jul 14 14:21:35 2020 +0200 Commit: Pedro Silva <[email protected]> CommitDate: Tue Jul 14 15:02:05 2020 +0200 notebookbar: add class for .main-nav Change-Id: Ie55ce155cb31a2ebc54d82025d33a06ee08cab7f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98722 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Pedro Silva <[email protected]> diff --git a/loleaflet/src/control/Control.Notebookbar.js b/loleaflet/src/control/Control.Notebookbar.js index a6c0821a8..9c83331da 100644 --- a/loleaflet/src/control/Control.Notebookbar.js +++ b/loleaflet/src/control/Control.Notebookbar.js @@ -21,6 +21,8 @@ L.Control.Notebookbar = L.Control.extend({ this.map.on('contextchange', this.onContextChange, this); this.map.on('notebookbar', this.onNotebookbar, this); this.map.on('updatepermission', this.onUpdatePermission, this); + + $('.main-nav').addClass('hasnotebookbar'); }, onRemove: function() { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
