Shortcuts: Link needs target to avoid appRouter.show mishandling it

This commit is contained in:
Jade Macho 2025-02-03 17:46:10 +01:00
parent 4abf817f2a
commit 6292aababc
Signed by: 0x0ade
GPG key ID: E1960710FE4FBEEF

View file

@ -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");
} }
}); });