Skip to content

Commit

Permalink
Beta page: Fix column sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalchevrel committed Oct 29, 2024
1 parent 2162e89 commit d06da76
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/views/templates/beta.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@
</div>
{% endfor %}

{% endblock %}
{% block footer %}
<footer></footer>
<script nonce="{{constant('NONCE')}}">
$(document).ready(function() {
$(document).on("click", "table thead tr th", function() {
Expand Down Expand Up @@ -193,10 +196,5 @@ $(document).ready(function() {
return ($.isNumeric(val_a) && $.isNumeric(val_b)) ? val_a - val_b : val_a.toString().localeCompare(val_b);
}
}
</script>

{% endblock %}
{% block footer %}
<footer></footer>
{% endblock %}

0 comments on commit d06da76

Please sign in to comment.