mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 16:37:58 +01:00
Fixed player page not displaying value errors
Function to display errors in player-values.js was missing
This commit is contained in:
parent
852ffb81e6
commit
eda40a4ade
@ -1,3 +1,7 @@
|
||||
function displayError(element, error) {
|
||||
element.find('.d-sm-flex').after('<div class="alert alert-danger" role="alert">Failed to load values: ' + error + '</div>')
|
||||
}
|
||||
|
||||
function loadPlayerOverviewValues(json, error) {
|
||||
tab = $("#player-overview");
|
||||
if (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user