Fix for duplicat tab opens in Chrome

main
Elbert Alias 3 years ago
parent fed3b58256
commit 15803240d1

@ -301,7 +301,7 @@ const Popup = {
Array.from(document.querySelectorAll('a')).forEach((a) =>
a.addEventListener('click', (event) => {
event.preventDefault()
event.stopPropagation()
event.stopImmediatePropagation()
open(a.href)
@ -462,7 +462,7 @@ const Popup = {
Array.from(document.querySelectorAll('a')).forEach((a) =>
a.addEventListener('click', (event) => {
event.preventDefault()
event.stopPropagation()
event.stopImmediatePropagation()
open(a.href)