Fixed the issue with firefox #1544

pull/1634/head
tidusjar 7 years ago
parent 8ac5bf7829
commit 00b1873dac

@ -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
}

@ -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;

Loading…
Cancel
Save