Fixed #1161 - OverlayPanel throws an error if still open when a new route is pushed
parent
5a5111e021
commit
1d1be6b4d0
|
@ -117,7 +117,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
OverlayEventBus.on('overlay-click', e => {
|
OverlayEventBus.on('overlay-click', e => {
|
||||||
if (this.container.contains(e.target)) {
|
if (this.container && this.container.contains(e.target)) {
|
||||||
this.selfClick = true;
|
this.selfClick = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue