Changed dataTable to reportTable

I think giving it a name too similar to the plugin was causing issues.
reminder
Etzelia 2018-10-02 18:22:56 +02:00
parent 7a5e0ab170
commit 256cfe8b0d
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
{% elif results == 'EMPTY' %}
<h2>No Data</h2>
{% else %}
<table id="dataTable" class="table table-hover link-table">
<table id="reportTable" class="table table-hover link-table">
<thead>
<tr>
<th>{% if report == 'players' %}Name{% else %}Entity{% endif %}</th>
@ -61,7 +61,7 @@
{% endif %}
<script>
$(document).ready(function() {
$("#dataTable").DataTable({
$("#reportTable").DataTable({
'lengthMenu': [ [ 10, 25, 50, 100, -1 ], [ 10, 25, 50, 100, "All" ] ],
'initComplete': function(settings, json) {
$("#content").show();