|
@@ -8,6 +8,17 @@ Template.alertsDashboard.onCreated(function() {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
+Template.landing.onCreated(function(){
|
|
|
+ function pageScroll() {
|
|
|
+ window.scrollBy(0,1);
|
|
|
+ if($(window).scrollTop() + $(window).height() == $(document).height()) {
|
|
|
+ $(window).scrollTop(0);
|
|
|
+ }
|
|
|
+ scrolldelay = setTimeout(pageScroll,50);
|
|
|
+ }
|
|
|
+ pageScroll();
|
|
|
+})
|
|
|
+
|
|
|
Template.banned.onCreated(function() {
|
|
|
if (rTimeInterval !== undefined) {
|
|
|
Meteor.clearInterval(rTimeInterval)
|