thrimbletrimmer: Fix a bug on initial load

loadPlaylist was happening before bustime was set, resulting
in the wrong times being loaded.
pull/134/head
Mike Lang 5 years ago
parent 971841d73b
commit 316504899a

@ -58,9 +58,10 @@ pageSetup = function() {
document.getElementById("StreamStart").value = new Date(new Date().getTime() - 1000*60*10).toISOString().substring(0,19); document.getElementById("StreamStart").value = new Date(new Date().getTime() - 1000*60*10).toISOString().substring(0,19);
document.getElementById("StreamEnd").value = new Date().toISOString().substring(0,19); document.getElementById("StreamEnd").value = new Date().toISOString().substring(0,19);
setBustimeRange(); setBustimeRange();
loadPlaylist();
}); });
loadPlaylist();
} }
}; };

Loading…
Cancel
Save