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
This commit is contained in:
dkanada 2020-12-07 15:44:16 +09:00 committed by GitHub
commit 62a09b7a4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) {