diff --git a/index.php b/index.php
index 3970bcc..a56afa8 100644
--- a/index.php
+++ b/index.php
@@ -39,10 +39,15 @@
$(window).scroll(function() {
if (isInViewport(document.querySelector('footer')))
{
- blockchainExplorer.addBottomBlock();
+ //blockchainExplorer.addBottomBlock();
console.log("Scroll to footer detected !");
}
- /*
+
+ if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
+ // blockchainExplorer.addBottomBlock();
+ console.log("Scroll to footer detected !");
+ }
+
$(".slideanim").each(function(){
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
@@ -51,10 +56,10 @@
$(this).addClass("slide");
}
});
- */
+
});
- blockchainExplorer.init(2);
+ blockchainExplorer.init(0);
//toggleInfos();
});
@@ -129,6 +134,10 @@
+
+ Click to see more blocks
+
+