Merge pull request #6612 from artoscinote/ma_SCI_9675

Fix outside-click directive to not kill Turbolinks [SCI-9675]
This commit is contained in:
Martin Artnik 2023-11-09 11:37:56 +01:00 committed by GitHub
commit 9811ee7592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,8 +6,6 @@
export default {
bind(el, binding, vnode) {
el._vueClickOutside_ = (e) => {
e.stopPropagation();
let clickedOnExcludedEl = false;
const { exclude } = binding.value;
exclude.forEach(refName => {