Browse Source

Append to content

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

+ 1 - 1
webflow-load-more.js

@@ -2,7 +2,7 @@ $(document).ready(function () {
     $(".w-pagination-next").bind('click', function (e) {
         e.preventDefault();
         jQuery.get($(this).attr('href'), function (data) {
-            $('.w-dyn-items').append($(data).find('.w-dyn-items'));
+            $('.w-dyn-items').append($(data).children('.w-dyn-items'));
         })
     });
 });