1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2188 from dmitrylyzo/fix-back

Fix anchor click action and plugin configuration page URL

(cherry picked from commit 62a09b7a4e)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
dkanada 2020-12-07 15:44:16 +09:00 committed by Joshua M. Boniface
parent 5f63743ed0
commit ccef18ee5d
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@ function onAnchorClick(e) {
shell.openUrl(href); shell.openUrl(href);
} }
} else { } else {
e.preventDefault();
appRouter.show(href); appRouter.show(href);
} }
} else { } else {

View file

@ -95,7 +95,7 @@ export function logout() {
} }
export function getPluginUrl(name) { export function getPluginUrl(name) {
return '#!/configurationpage?name=' + encodeURIComponent(name); return 'configurationpage?name=' + encodeURIComponent(name);
} }
export function navigate(url, preserveQueryString) { export function navigate(url, preserveQueryString) {