Added autoreload in sentiment-trending.

pull/68/head
Mokaddem 2016-08-16 11:27:49 +02:00
parent bb677b9061
commit ecd834ffb6
1 changed files with 2 additions and 1 deletions

View File

@ -496,7 +496,8 @@
activePage = $('h1.page-header').attr('data-page'); activePage = $('h1.page-header').attr('data-page');
$("#"+activePage).addClass("active"); $("#"+activePage).addClass("active");
// Reload every 30min
setTimeout(function(){ location.reload(); }, 30*60*1000);
}); });
</script> </script>