Changeset 1159633
- Timestamp:
- 05/13/2015 12:58:45 PM (11 years ago)
- Location:
- wp-infinite-scrolling/trunk
- Files:
-
- 4 edited
-
js/jquery.sifs.js (modified) (1 diff)
-
js/wpifs.js (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wp-infinite-scrolling.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-infinite-scrolling/trunk/js/jquery.sifs.js
r1157869 r1159633 41 41 42 42 loadNextPage: function() { 43 var nextPageUrl = $.sifs.nextPageUrl; 43 var nextPageUrl = $.sifs.nextPageUrl, 44 loading = $($.sifs.loadingHtml); 44 45 $.sifs.nextPageUrl = null; 45 $($.sifs.containerSelector).append('<div class="wpifs-loading">' + $.sifs.loadingHtml + '</div>');46 loading.appendTo($.sifs.containerSelector); 46 47 $.get(nextPageUrl, function(html) { 47 48 var dom = $(html), 48 49 posts = dom.find($.sifs.containerSelector).find($.sifs.postSelector); 49 $('.wpifs-loading').remove();50 loading.remove(); 50 51 $.sifs.show(posts.hide().appendTo($.sifs.containerSelector)); 51 52 $.sifs.extractNextPageUrl(dom); -
wp-infinite-scrolling/trunk/js/wpifs.js
r1157869 r1159633 5 5 paginationSelector: wpifs_options['pagination'], 6 6 nextSelector: wpifs_options['next'], 7 loadingHtml: wpifs_options['loading'],7 loadingHtml: '<div class="wpifs-loading">' + wpifs_options['loading'] + '</div>', 8 8 show: function(elems) { 9 9 elems.fadeIn(700); -
wp-infinite-scrolling/trunk/readme.txt
r1159617 r1159633 4 4 Requires at least: 4.0 5 5 Tested up to: 4.2.1 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-infinite-scrolling/trunk/wp-infinite-scrolling.php
r1159617 r1159633 4 4 * Plugin URI: https://github.com/lassebunk/wp-infinite-scrolling 5 5 * Description: Enable infinite scrolling on your WordPress blog. 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * Author: Lasse Bunk 8 8 * Author URI: https://github.com/lassebunk
Note: See TracChangeset
for help on using the changeset viewer.