Commit 5aeade52 authored by Remon's avatar Remon

Issue #1542088 by marieke_h: next_selector could mistakenly allow selecting...

Issue #1542088 by marieke_h: next_selector could mistakenly allow selecting other pagers on view's page
parent d3bd60aa
......@@ -23,7 +23,7 @@ Drupal.behaviors.views_infinite_scroll = {
if(!use_ajax) {
var content_selector = 'div.view-id-' + settings.view_name + '.view-display-id-' + settings.display + ' ' + settings.content_selector;
var items_selector = content_selector + ' ' + settings.items_selector;
var next_selector = settings.next_selector;
var next_selector = 'div.view-id-' + settings.view_name + ' ' + settings.next_selector;
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';
......
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