Merge pull request #1760 from umap-project/fix-esc-fragment
fix: do not try to close editPanel if not set
This commit is contained in:
commit
ba72f59624
1 changed files with 2 additions and 2 deletions
|
@ -524,8 +524,8 @@ U.Map = L.Map.extend({
|
||||||
this.help.hide()
|
this.help.hide()
|
||||||
} else {
|
} else {
|
||||||
this.panel.close()
|
this.panel.close()
|
||||||
this.editPanel.close()
|
this.editPanel?.close()
|
||||||
this.fullPanel.close()
|
this.fullPanel?.close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue