From aa1173d6b7aca989308c33614750a747c9d3dc0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 3 Aug 2020 11:01:09 -0400 Subject: [PATCH] Fix for #1047. --- views/episodes.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/views/episodes.html b/views/episodes.html index 2360318c4..4d5bb8757 100644 --- a/views/episodes.html +++ b/views/episodes.html @@ -391,8 +391,15 @@ r.style.display = collapsed ? 'none' : ''; }); + if (collapsed) { + var chevron_icon = ''; + } else { + var chevron_icon = ''; + } + + return $('') - .append('Season ' + group + '') + .append('Season ' + group + ' ' + chevron_icon + '') .attr('data-name', group) .toggleClass('collapsed', collapsed); }