summaryrefslogtreecommitdiff
path: root/public/static/image.js
blob: 40bc37da04c568b633c0e39a8411f7afc97c8b94 (plain)
1
2
3
4
5
6
7
8
9
$(document).ready(function() {
	function reloadImage() {
		d = new Date();
		origurl = $('#display').attr('src').split('&r=')[0];
		$('#display').attr('src', origurl+'&r='+d.getTime());
		setTimeout(reloadImage, 60000);
	}
	setTimeout(reloadImage, 60000);
});