Joachim M. Giæver hace 4 años
padre
commit
5671c7a72e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      webflow-load-more.js

+ 1 - 1
webflow-load-more.js

@@ -13,7 +13,7 @@ $(document).ready(function () {
             var next = $(data).find('.w-pagination-wrapper');
 
             console.log(next);
-            if (next.length
+            if (next.length > 0)
                 $('.w-pagination-wrapper').attr('href', next.attr('href'));
             else
                 $('.w-pagination-wrapper').remove();