From 6fc62a771a8e54ae84781805e2819094967237ac Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 31 Jul 2022 01:48:22 +0300 Subject: [PATCH] fix errors in console --- src/components/popover/popover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js index f23df826..67bb1037 100644 --- a/src/components/popover/popover.js +++ b/src/components/popover/popover.js @@ -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()