Added autoreload in sentiment-trending.

This commit is contained in:
Mokaddem 2016-08-16 11:27:49 +02:00
parent bb677b9061
commit ecd834ffb6

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>