Skip to content

Commit 869b64f

Browse files
committed
Fix expand/collapse all being applied to wrong elements after first use
1 parent 20fedad commit 869b64f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public_html/extra.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,15 +905,15 @@ $(function() {
905905
});
906906

907907
$('#changelog-expand-all').on('click', function() {
908-
$('table.changelog tbody tr').each(function() {
908+
$('table.changelog tbody tr[data-changeset]').each(function() {
909909
show_changes($(this), true);
910910
});
911911
$(this).hide();
912912
$('#changelog-collapse-all').show();
913913
});
914914

915915
$('#changelog-collapse-all').on('click', function() {
916-
$('table.changelog tbody tr').each(function() {
916+
$('table.changelog tbody tr[data-changeset]').each(function() {
917917
show_changes($(this), false);
918918
});
919919
$(this).hide();

0 commit comments

Comments
 (0)