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:
Ashod Nakashian 2019-12-08 11:20:19 -05:00 committed by Ashod Nakashian
parent d1da3ac1a2
commit 333a49b6f2

View file

@ -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);
}