1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

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 95d7d728e0 eliminated
'return' statement in function - better to remove the code
that 'return' was skipping over anyway. This fixes the issue.
This commit is contained in:
Matthew Haughton 2014-07-24 20:25:58 -04:00
parent b63dffa3a0
commit 32d0552f03

View File

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