mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00: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:
parent
b63dffa3a0
commit
32d0552f03
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue