zoneminder/web/skins/classic/views/js/cycle.js

10 lines
251 B
JavaScript

function nextCycleView() {
window.location.replace('?view=cycle&mid='+nextMid+'&mode='+mode, cycleRefreshTimeout);
}
function initCycle() {
nextCycleView.periodical(cycleRefreshTimeout);
}
window.addEventListener('DOMContentLoaded', initCycle);