leaflet: no need to setup events on updates
Change-Id: Ie34907230377b6d0f2e0729403b435028aac16ae Reviewed-on: https://gerrit.libreoffice.org/84714 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
parent
d1da3ac1a2
commit
333a49b6f2
1 changed files with 2 additions and 3 deletions
|
@ -655,9 +655,8 @@ L.Control.LokDialog = L.Control.extend({
|
|||
else
|
||||
$(panel).parent().hide();
|
||||
|
||||
var panelContainer = document.getElementById(strId);
|
||||
var panelCanvas = document.getElementById(strId + '-canvas');
|
||||
this._postLaunch(id, panelContainer, panelCanvas);
|
||||
// Render window.
|
||||
this._sendPaintWindowRect(id);
|
||||
} else {
|
||||
this._createSidebar(id, strId, width, height);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue