Closed (fixed)
Project:
Views cycle
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2010 at 16:58 UTC
Updated:
3 Aug 2010 at 19:20 UTC
The container div for the previous and next links in the Drupal.theme.prototype.viewsCyclePrevNext function in views_cycle.js only contains a unique id. This should also have a class added to this div that is general and not unique.
Drupal.theme.prototype.viewsCyclePrevNext = function(nextLabel, prevLabel, id) {
return '<div id="' + id + '" class="views-cycle-prev-next-links"><a href="#" class="views-cycle-prev">' + prevLabel + '</a> <a href="#" class="views-cycle-next">' + nextLabel + "</a></div>\n";
}
Comments
Comment #1
Crell commentedIndeed, so it does. Committed. Thanks!