diff --git a/public/js/vendor/jquery.bottomless.js b/public/js/vendor/jquery.bottomless.js
index <HASH>..<HASH> 100644
--- a/public/js/vendor/jquery.bottomless.js
+++ b/public/js/vendor/jquery.bottomless.js
@@ -121,8 +121,8 @@
           (options.success || function(data) {
             var $items = $.parseHTML(data);
             $el.append($items);
-            $el.data('page', page);
           })(data);
+          $el.data('page', page);
           stop();
           $el.trigger('aposScrollLoaded');
         },
Fix a very old bottomless bug: if you supply your own success function, the `page` jquery data attribute never gets set