Reinitialize notebookbar after Zotero init

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I697c87bbd995800bdd69358f139fa8537fb70077
This commit is contained in:
Szymon Kłos 2022-12-13 08:14:15 +01:00 committed by Andras Timar
parent 45184adba9
commit aeac944e4b

View file

@ -318,6 +318,7 @@ L.Control.UIManager = L.Control.extend({
$('.main-nav').removeClass('readonly');
$('#map').addClass('notebookbar-opened');
this.insertCustomButtons();
this.map.sendInitUNOCommands();
},
refreshMenubar: function() {
@ -326,7 +327,6 @@ L.Control.UIManager = L.Control.extend({
addNotebookbarUI: function() {
this.refreshNotebookbar();
this.map.sendInitUNOCommands();
this.map._docLayer._resetClientVisArea();
this.map._docLayer._requestNewTiles();
},