mirror of https://github.com/morpheus65535/bazarr
Fix for #1047.
This commit is contained in:
parent
8efd49febe
commit
aa1173d6b7
|
@ -391,8 +391,15 @@
|
|||
r.style.display = collapsed ? 'none' : '';
|
||||
});
|
||||
|
||||
if (collapsed) {
|
||||
var chevron_icon = '<i class="fas fa-chevron-circle-right"></i>';
|
||||
} else {
|
||||
var chevron_icon = '<i class="fas fa-chevron-circle-down"></i>';
|
||||
}
|
||||
|
||||
|
||||
return $('<tr/>')
|
||||
.append('<td colspan=' + rows.columns()[0].length + '>Season ' + group + '</td>')
|
||||
.append('<td colspan=' + rows.columns()[0].length + '>Season ' + group + ' ' + chevron_icon + '</td>')
|
||||
.attr('data-name', group)
|
||||
.toggleClass('collapsed', collapsed);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue