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

10 lines
251 B
JavaScript
Raw Normal View History

2017-05-19 01:50:56 +08:00
function nextCycleView() {
2018-07-10 00:33:21 +08:00
window.location.replace('?view=cycle&mid='+nextMid+'&mode='+mode, cycleRefreshTimeout);
}
2017-05-19 01:50:56 +08:00
function initCycle() {
2018-07-10 00:33:21 +08:00
nextCycleView.periodical(cycleRefreshTimeout);
}
window.addEventListener('DOMContentLoaded', initCycle);