From 5dba7a4181fd79d27c85062beeb419c39c122728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Sun, 9 Feb 2020 22:37:49 -0500 Subject: [PATCH] WIP --- views/episodes.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/episodes.html b/views/episodes.html index 2bfd9836a..78f2cadd0 100644 --- a/views/episodes.html +++ b/views/episodes.html @@ -426,7 +426,7 @@ sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"), tvdbid: seriesDetails['tvdbId'] }; - var cell = $(this).parent(); + var cell = $(this).closest('td'); $.ajax({ url: "{{ url_for('api.episodessubtitlesdelete') }}", type: "DELETE", @@ -451,7 +451,7 @@ sonarrEpisodeId: $(this).attr('data-sonarrepisodeid'), title: seriesDetails['title'] }; - var cell = $(this).parent(); + var cell = $(this).closest('td'); $.ajax({ url: "{{ url_for('api.episodessubtitlesdownload') }}", type: "POST", @@ -588,7 +588,7 @@ sonarrEpisodeId: $(this).attr('data-sonarrepisodeid'), title: seriesDetails['title'] }; - var cell = $(this).parent(); + var cell = $(this).closest('td'); $.ajax({ url: "{{ url_for('api.episodessubtitlesmanualdownload') }}", type: "POST",