From 915589986001f28de69b64f7a7ad4213dbf4b134 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 3 Dec 2020 16:07:01 -0500 Subject: [PATCH] Fix emby-button link handling --- src/components/appRouter.js | 1 - src/elements/emby-button/emby-button.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/appRouter.js b/src/components/appRouter.js index ee35a5abb7..c02c7edd32 100644 --- a/src/components/appRouter.js +++ b/src/components/appRouter.js @@ -20,7 +20,6 @@ class AppRouter { currentViewLoadRequest; firstConnectionResult; forcedLogoutMsg; - handleAnchorClick = page.clickHandler; isDummyBackToHome; msgTimeout; popstateOccurred = false; diff --git a/src/elements/emby-button/emby-button.js b/src/elements/emby-button/emby-button.js index 3d911c6e37..e51fb4f130 100644 --- a/src/elements/emby-button/emby-button.js +++ b/src/elements/emby-button/emby-button.js @@ -18,7 +18,7 @@ function onAnchorClick(e) { shell.openUrl(href); } } else { - appRouter.handleAnchorClick(e); + appRouter.show(href); } } else { e.preventDefault();