mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 02:26:21 +08:00
fix(core): ctrl/cmd + click on add page button opens in new tab (#7701)
fix PD-1521
This commit is contained in:
@@ -4,7 +4,5 @@ export function popupWindow(target: string) {
|
||||
? target
|
||||
: runtimeConfig.serverUrlPrefix + target;
|
||||
url.searchParams.set('redirect_uri', target);
|
||||
|
||||
console.log(url.href);
|
||||
return window.open(url, '_blank', `noreferrer noopener`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user