Commit 22e7188c authored by Remon's avatar Remon

Issue #1114446 by jkopel: Infinite scroll hiding all pagers instead of just the infinite one(s).

parent 9665fc40
......@@ -28,7 +28,8 @@ Drupal.behaviors.views_infinite_scroll = {
var img_path = settings.img_path;
var img = '<div id="views_infinite_scroll-ajax-loader"><img src="' + img_path + '" alt="loading..."/></div>';
var img_location = 'div.view-id-' + settings.view_name + '.view-display-id-' + settings.display + ' div.view-content';
$(settings.pager_selector).hide();
var pager_selector = 'div.view-id-' + settings.view_name + '.view-display-id-' + settings.display + ' div.item-list ' + settings.pager_selector;
$(pager_selector).hide();
$.autopager({
appendTo: content_selector,
content: items_selector,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment