git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forgot to remove the test cases for XPath [n]. (Ticket #995)
[jquery.git]
/
build
/
docs
/
js
/
pager.js
diff --git
a/build/docs/js/pager.js
b/build/docs/js/pager.js
index
8370bef
..
44f2e69
100644
(file)
--- a/
build/docs/js/pager.js
+++ b/
build/docs/js/pager.js
@@
-68,7
+68,9
@@
$.fn.pager = function(step) {
pager = $("<ul class='nav-page'></ul>");
for ( var i = 0; i < names.length; i++ )
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);
return handleCrop( this.rel );
}).wrap("<li></li>").parent().appendTo(pager);