mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix emby-button link handling
This commit is contained in:
parent
c640e17ea8
commit
9155899860
2 changed files with 1 additions and 2 deletions
|
@ -20,7 +20,6 @@ class AppRouter {
|
||||||
currentViewLoadRequest;
|
currentViewLoadRequest;
|
||||||
firstConnectionResult;
|
firstConnectionResult;
|
||||||
forcedLogoutMsg;
|
forcedLogoutMsg;
|
||||||
handleAnchorClick = page.clickHandler;
|
|
||||||
isDummyBackToHome;
|
isDummyBackToHome;
|
||||||
msgTimeout;
|
msgTimeout;
|
||||||
popstateOccurred = false;
|
popstateOccurred = false;
|
||||||
|
|
|
@ -18,7 +18,7 @@ function onAnchorClick(e) {
|
||||||
shell.openUrl(href);
|
shell.openUrl(href);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
appRouter.handleAnchorClick(e);
|
appRouter.show(href);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue