Browse Source

Open links in new tab by holding meta key (#1130)

pull/1132/head
Yaroslav 2 years ago
committed by GitHub
parent
commit
83467b7dfb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      frontend/src/app/framework/angular/tab-router-link.directive.ts

2
frontend/src/app/framework/angular/tab-router-link.directive.ts

@ -30,7 +30,7 @@ export class TabRouterlinkDirective {
relativeTo: this.route,
});
if (event.ctrlKey) {
if (event.ctrlKey || event.metaKey) {
const url = this.router.serializeUrl(urlTree);
window.open(url, '_blank');

Loading…
Cancel
Save