leaflet: the dialog open flag is not used

Change-Id: I3a1a4308df7f874e5b56fb24509a506f294d8bd2
This commit is contained in:
Ashod Nakashian 2018-11-17 23:03:15 -05:00 committed by Jan Holesovsky
parent 33dd8a1651
commit 26188436a7

View file

@ -38,7 +38,6 @@ L.Control.LokDialog = L.Control.extend({
_isOpen: function(id) {
return this._dialogs[id] &&
this._dialogs[id].open &&
$('#' + this._toStrId(id)).length > 0;
},
@ -314,7 +313,6 @@ L.Control.LokDialog = L.Control.extend({
$(dialogContainer).parent().hide();
this._dialogs[id] = {
open: true,
width: width,
height: height,
title: title