Skip to content

Commit

Permalink
Fix precedence table ordering
Browse files Browse the repository at this point in the history
Table header names changed in #4031. Closes #4085.
  • Loading branch information
m-dango committed Jun 18, 2022
1 parent 165ea10 commit 68ca383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/main.js
Expand Up @@ -11,8 +11,8 @@ function setup_tables() {
if ($(this).find('thead').length
&& $(this).find('tr').length > 10
&& ! ( // don't sort operators precedence table
$(this).find('thead th:first-child' ).text() == 'A'
&& $(this).find('thead th:first-child + th').text() == 'Level'
$(this).find('thead th:first-child' ).text() == 'Precedence Level'
&& $(this).find('thead th:first-child + th').text() == 'Associativity'
)) $(this).tablesorter({sortList: [[0,0]]})
})
}
Expand Down

0 comments on commit 68ca383

Please sign in to comment.