diff --git a/.eslintrc b/.eslintrc index 52547fa..9cfe485 100644 --- a/.eslintrc +++ b/.eslintrc @@ -123,6 +123,7 @@ "semi": [ 2, "always" - ] + ], + "eol-last": ["error", "never"] } } \ No newline at end of file diff --git a/dist/jquery.jscroll.min.js b/dist/jquery.jscroll.min.js index a4d6cce..b798407 100644 --- a/dist/jquery.jscroll.min.js +++ b/dist/jquery.jscroll.min.js @@ -5,7 +5,7 @@ * @copyright Philip Klauzinski * @license Dual licensed under the MIT and GPL Version 2 licenses * @author Philip Klauzinski (https://webtopian.com) - * @version 2.3.9 + * @version 2.4.0 * @requires jQuery v1.8.0+ * @preserve */ diff --git a/jquery.jscroll.js b/jquery.jscroll.js index d43e4f5..3140519 100644 --- a/jquery.jscroll.js +++ b/jquery.jscroll.js @@ -94,7 +94,6 @@ iTotalHeight = Math.ceil(iTopHeight - innerTop + _$scroll.height() + iContainerTop); if (!data.waiting && iTotalHeight + _options.padding >= $inner.outerHeight()) { - //data.nextHref = $.trim(data.nextHref + ' ' + _options.contentSelector); _debug('info', 'jScroll:', $inner.outerHeight() - iTotalHeight, 'from bottom. Loading next request...'); return _load(); } @@ -224,4 +223,4 @@ }); }; -})(jQuery); +})(jQuery); \ No newline at end of file