Removing comments
This commit is contained in:
parent
3ed110485c
commit
61583f5345
1 changed files with 1 additions and 7 deletions
|
|
@ -463,13 +463,7 @@ export function setupModalLinks(context) {
|
|||
for (const element of elements) {
|
||||
const target = element.getAttribute('modalTarget');
|
||||
if (target) {
|
||||
console.log('click event');
|
||||
console.log(target)
|
||||
console.log(element)
|
||||
element.addEventListener('click', () =>{
|
||||
console.log('hi');
|
||||
context.$refs[target].openModal()
|
||||
});
|
||||
element.addEventListener('click', () => context.$refs[target].openModal());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue