Fixed the docs for noConflict, fixed a bug with pager.
This commit is contained in:
parent
ab0287681f
commit
458d427c0e
2 changed files with 12 additions and 6 deletions
|
@ -68,7 +68,9 @@ $.fn.pager = function(step) {
|
|||
pager = $("<ul class='nav-page'></ul>");
|
||||
|
||||
for ( var i = 0; i < names.length; i++ )
|
||||
$("<a href=''></a>").rel( i ).html( names[i] ).click(function() {
|
||||
$("<a href=''></a>").attr({
|
||||
rel: i, innerHTML: names[i]
|
||||
}).click(function() {
|
||||
return handleCrop( this.rel );
|
||||
}).wrap("<li></li>").parent().appendTo(pager);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue