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

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 14 13:02:26 UTC 2020


 loleaflet/src/control/Control.Notebookbar.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c0b4eec80b63bacb7589b5c07d99c75a7c9a21c9
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Jul 14 14:21:35 2020 +0200
Commit:     Pedro Silva <pedro.silva at collabora.com>
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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Pedro Silva <pedro.silva at collabora.com>

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() {


More information about the Libreoffice-commits mailing list