fix errors in console

This commit is contained in:
Henry Jameson 2022-07-31 01:48:22 +03:00
parent 8ab30545b2
commit 6fc62a771a

View File

@ -262,7 +262,7 @@ const Popover = {
},
onClickOutside (e) {
if (this.hidden) return
if (this.$refs.content.contains(e.target)) return
if (this.$refs.content && this.$refs.content.contains(e.target)) return
if (this.$el.contains(e.target)) return
if (this.childrenShown.size > 0) return
this.hidePopover()