From 32d0552f03e3e14889f452cb6e57c533abcfec4f Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Thu, 24 Jul 2014 20:25:58 -0400 Subject: [PATCH] fix episode filtering Checking the filtering checkboxes on episode listings did nothing on the first checkbox change, then did the opposite of what it was supposed (i.e. checking the checkbox would hide the episodes and vice versa). Commit 95d7d728e00e225dd67a6f0eede10b41e5571ba8 eliminated 'return' statement in function - better to remove the code that 'return' was skipping over anyway. This fixes the issue. --- gui/slick/js/displayShow.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gui/slick/js/displayShow.js b/gui/slick/js/displayShow.js index 63994e1e..85879664 100644 --- a/gui/slick/js/displayShow.js +++ b/gui/slick/js/displayShow.js @@ -117,10 +117,6 @@ $(document).ready(function () { $("#checkboxControls input").change(function (e) { var whichClass = $(this).attr('id'); $(this).showHideRows(whichClass); - - $('tr.' + whichClass).each(function (i) { - $(this).toggle(); - }); }); // initially show/hide all the rows according to the checkboxes @@ -273,4 +269,4 @@ $(document).ready(function () { height:120 }); }); -}); \ No newline at end of file +});