mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-27 02:21:30 +01:00
parent
df96360c94
commit
97e22bbf17
@ -9,7 +9,7 @@ function loadPlayerOverviewValues(json, error) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Player information card
|
||||
/* Player information card */
|
||||
data = json.info;
|
||||
element = $(tab).find("#data_player_info");
|
||||
|
||||
|
@ -251,7 +251,7 @@ function updateViewGraph() {
|
||||
|
||||
let query = [];
|
||||
|
||||
function performNewQuery() {
|
||||
function performNextQuery() {
|
||||
for (let filter of queryState.filters) {
|
||||
query.push(filter.toObject());
|
||||
}
|
||||
@ -340,7 +340,7 @@ function displayResults(json) {
|
||||
// Set URL so that the query result can be shared
|
||||
window.history.replaceState({}, '', `${location.pathname}?timestamp=${json.timestamp}`);
|
||||
|
||||
// Player table
|
||||
/* Player table */
|
||||
$('.player-table').DataTable({
|
||||
responsive: true,
|
||||
columns: json.data.players.columns,
|
||||
|
@ -157,7 +157,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="m-2 btn bg-plan" id="query-button" onclick="performNewQuery()"><i
|
||||
<button class="m-2 btn bg-plan" id="query-button" onclick="performNextQuery()"><i
|
||||
class="fa fa-search"></i> Perform Query!
|
||||
</button>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user