leaflet: Sidebar is not a popup window
Change-Id: Ib786a4038bfb55ee71e7e66a0e195fd43c9603af
This commit is contained in:
parent
97a7b1f170
commit
53bd11c8e7
1 changed files with 2 additions and 1 deletions
|
@ -849,7 +849,8 @@ L.Control.LokDialog = L.Control.extend({
|
|||
|
||||
onCloseCurrentPopUp: function() {
|
||||
// for title-less dialog only (context menu, pop-up)
|
||||
if (!this._currentId || !this._isOpen(this._currentId) || this._dialogs[this._currentId].title)
|
||||
if (!this._currentId || !this._isOpen(this._currentId) ||
|
||||
this._dialogs[this._currentId].title || this._isSidebar(this._currentId))
|
||||
return;
|
||||
this._onDialogClose(this._currentId, true);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue