mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Fixed issue with js ordering of graph results
This commit is contained in:
@@ -102,7 +102,7 @@ $(document).ready(function(){
|
||||
}
|
||||
|
||||
function getGraphData() {
|
||||
$.each($('[data-role="url-stats"]'), function() {
|
||||
$($('[data-role="url-stats"]').get().reverse()).each( function() {
|
||||
var el = $(this);
|
||||
storeDatum(el, getXAxisLabel(el));
|
||||
});
|
||||
@@ -120,7 +120,6 @@ $(document).ready(function(){
|
||||
data[type] = [];
|
||||
}
|
||||
data[type].push([label, +value]);
|
||||
data[type].reverse();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user