From 00b1873dacfc363d69ce5638852110064d6b322c Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 26 Oct 2017 21:07:44 +0100 Subject: [PATCH] Fixed the issue with firefox #1544 --- src/Ombi.Notifications/NotificationMessageCurlys.cs | 2 +- src/Ombi/ClientApp/app/requests/tvrequests.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ombi.Notifications/NotificationMessageCurlys.cs b/src/Ombi.Notifications/NotificationMessageCurlys.cs index a3ba590b7..86e1f724d 100644 --- a/src/Ombi.Notifications/NotificationMessageCurlys.cs +++ b/src/Ombi.Notifications/NotificationMessageCurlys.cs @@ -38,7 +38,7 @@ namespace Ombi.Notifications Overview = req.ParentRequest.Overview; Year = req.ParentRequest.ReleaseDate.Year.ToString(); PosterImage = req.RequestType == RequestType.Movie ? - $"https://image.tmdb.org/t/p/w300/{req.ParentRequest.PosterPath}" : req.ParentRequest.PosterPath; + $"https://image.tmdb.org/t/p/w300{req.ParentRequest.PosterPath}" : req.ParentRequest.PosterPath; // DO Episode and Season Lists } diff --git a/src/Ombi/ClientApp/app/requests/tvrequests.component.ts b/src/Ombi/ClientApp/app/requests/tvrequests.component.ts index 0e786078c..ec4055ffe 100644 --- a/src/Ombi/ClientApp/app/requests/tvrequests.component.ts +++ b/src/Ombi/ClientApp/app/requests/tvrequests.component.ts @@ -48,7 +48,7 @@ export class TvRequestsComponent implements OnInit { } public openClosestTab(el: any) { const rowclass = "undefined"; - el = el.toElement; + el = el.toElement || el.relatedTarget || el.target; while (el.className !== rowclass) { // Increment the loop to the parent node until we find the row we need el = el.parentNode;