Skip to content
Snippets Groups Projects
Commit c53adfb6 authored by faras's avatar faras
Browse files

Hotfix. Broken on start with empty storage. Responsible in mobile.

parent 93ca1470
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ $(document).ready(function() {
stateSave: true,
info: false,
order: 3,
responsive: true,
scrollX: true,
fixedHeader: true,
"paging": false,
"columns": [
......@@ -92,6 +92,8 @@ $(document).ready(function() {
// })
function restoreData(table) {
if (!window.jitsimeterResults) return false;
let storedResults = JSON.parse(window.jitsimeterResults);
for (i in storedResults[0]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment