Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--static/js/main.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 939f75a..ede9908 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,7 @@ contact, or miscellaneous in order to provide slight changes in styling.
- Current lazysizes.js version is `1.2.0`.
- Current ls.noscript.js version is `1.2.0`.
- Current lightbox.js version is `2.8.1`.
+- Current infinitescroll.js version is `2.1.0`.
Contents
--------
diff --git a/static/js/main.js b/static/js/main.js
index 147247a..6792d86 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -24,7 +24,8 @@ $(document).ready(function(){
var $infiniteContainer = $(".masonry-flex-container.infinite-scroll").infinitescroll({
navSelector: "ul.pagination",
nextSelector: "ul.pagination a:last",
- itemSelector: ".masonry-flex-container .flex-item"
+ itemSelector: ".masonry-flex-container .flex-item",
+ loadingImg: "/img/loader.gif"
}, function(elements) {
var $elements = $(elements);
$elements.imagesLoaded(function() {