lib/kalindar/public/kalindar.js in kalindar-0.2.0 vs lib/kalindar/public/kalindar.js in kalindar-0.2.1

- old
+ new

@@ -35,5 +35,11 @@ $('main').html(resp.responseText); }, onFailure: function(resp) {alert(resp.responseText);}, }); }); + +/* Refresh every 5 minutes. */ +var refresh = function () { + location.reload(); +} +refresh.periodical(1000 * 60 * 5);