Fixed #1161 - OverlayPanel throws an error if still open when a new route is pushed

pull/1088/head
Cagatay Civici 2021-04-14 16:08:04 +03:00
parent 5a5111e021
commit 1d1be6b4d0
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export default {
}
OverlayEventBus.on('overlay-click', e => {
if (this.container.contains(e.target)) {
if (this.container && this.container.contains(e.target)) {
this.selfClick = true;
}
});