mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-20 02:34:12 +00:00
fix(links): handle meta key
This commit is contained in:
parent
7b4dd36827
commit
92b4a8029d
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export default {
|
|||
&& !some(TRUSTED_DOMAINS.split(','), domain => link.href.indexOf(domain) === domainIndex)) {
|
||||
link.classList.add('external-link');
|
||||
link.addEventListener('click', e => {
|
||||
if (e.ctrlKey) {
|
||||
if (e.ctrlKey || e.metaKey) {
|
||||
return;
|
||||
}
|
||||
e.stopPropagation();
|
||||
|
|
|
|||
Loading…
Reference in a new issue