Browse Source

Add next page loader

Joachim M. Giæver 3 years ago
parent
commit
9b82082319
1 changed files with 3 additions and 1 deletions
  1. 3 1
      webflow-load-more.js

+ 3 - 1
webflow-load-more.js

@@ -1,6 +1,8 @@
 $(document).ready(function () {
     $(".w-pagination-next").bind('click', function (e) {
         e.preventDefault();
-        console.log(e);
+        jQuery.get($(this).attr('href'), function (data) {
+            console.log(data);
+        })
     });
 });