mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-25 06:41:21 +00:00
Fixed issue with js ordering of graph results
This commit is contained in:
@@ -102,7 +102,7 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getGraphData() {
|
function getGraphData() {
|
||||||
$.each($('[data-role="url-stats"]'), function() {
|
$($('[data-role="url-stats"]').get().reverse()).each( function() {
|
||||||
var el = $(this);
|
var el = $(this);
|
||||||
storeDatum(el, getXAxisLabel(el));
|
storeDatum(el, getXAxisLabel(el));
|
||||||
});
|
});
|
||||||
@@ -120,7 +120,6 @@ $(document).ready(function(){
|
|||||||
data[type] = [];
|
data[type] = [];
|
||||||
}
|
}
|
||||||
data[type].push([label, +value]);
|
data[type].push([label, +value]);
|
||||||
data[type].reverse();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12 hidden">
|
<div class="col-md-12">
|
||||||
{{> results-table}}
|
{{> results-table}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Reference in New Issue
Block a user