Shortcuts: Link needs target to avoid appRouter.show mishandling it
This commit is contained in:
parent
4abf817f2a
commit
6292aababc
1 changed files with 1 additions and 3 deletions
|
@ -27,9 +27,7 @@ export default JadefinIntegrity("Shortcuts", import.meta.url, () => new (class S
|
||||||
in: ExtrasMenu.IN_DRAWER,
|
in: ExtrasMenu.IN_DRAWER,
|
||||||
cbEl: (/** @type {HTMLElement} */ el, current, alive) => {
|
cbEl: (/** @type {HTMLElement} */ el, current, alive) => {
|
||||||
el.setAttribute("href", "https://jellyseerr.0x0a.de/");
|
el.setAttribute("href", "https://jellyseerr.0x0a.de/");
|
||||||
},
|
el.setAttribute("target", "_blank");
|
||||||
cb: () => {
|
|
||||||
window.open("https://jellyseerr.0x0a.de/", "_blank");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue