Allow starting as root and downgrading once the server is listening

This commit is contained in:
Andris Reinman 2016-04-15 21:40:59 -07:00
parent b444440d65
commit b7e943d90e
8 changed files with 79 additions and 17 deletions

View file

@ -102,3 +102,10 @@ $('.fm-birthday-generic.date').datepicker({
weekStart: 1,
autoclose: true
});
$('.page-refresh').each(function () {
var interval = Number($(this).data('interval')) || 60;
setTimeout(function () {
window.location.reload();
}, interval * 1000);
});