mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix Open card links in current tab. Not in new tab anymore.
Thanks to bronger, ManZosh and xet7 ! Fixes https://github.com/wekan/wekan/discussions/3534
This commit is contained in:
parent
f480f945c5
commit
ee3c5cbb6a
1 changed files with 3 additions and 1 deletions
|
@ -394,7 +394,9 @@ Template.viewer.events({
|
|||
} else {
|
||||
const href = event.currentTarget.href;
|
||||
if (href) {
|
||||
window.open(href, '_blank');
|
||||
// Open links in current browser tab, changed from _blank to _self:
|
||||
// https://github.com/wekan/wekan/discussions/3534
|
||||
window.open(href, '_self');
|
||||
}
|
||||
}
|
||||
if (prevent) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue