mirror of
https://github.com/moparisthebest/SickRage
synced 2025-03-03 01:52:02 -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 95d7d728e00e225dd67a6f0eede10b41e5571ba8 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
@ -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…
x
Reference in New Issue
Block a user