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:
commit
62a09b7a4e
2 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue