Skip to content
Snippets Groups Projects
Commit 6fc62a77 authored by HJ's avatar HJ :fire:
Browse files

fix errors in console

parent 8ab30545
No related branches found
No related tags found
3 merge requests!1711Update stable - 2.5.0 release,!1585Fixing merge conflicts and lint for report notifications MR,!1540Disjointed popovers
Pipeline #40839 passed
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment