aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-01-06 22:34:12 +0000
committerJohn Resig <jeresig@gmail.com>2007-01-06 22:34:12 +0000
commit458d427c0e4af4502e14400110b5327aa2513781 (patch)
treeed7f32f3e3513810e32c7443555ff593aa80ca25 /build
parentab0287681f790ad36beb5e35160bedfe181e30f7 (diff)
downloadjquery-458d427c0e4af4502e14400110b5327aa2513781.tar.gz
jquery-458d427c0e4af4502e14400110b5327aa2513781.zip
Fixed the docs for noConflict, fixed a bug with pager.
Diffstat (limited to 'build')
-rw-r--r--build/docs/js/pager.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/docs/js/pager.js b/build/docs/js/pager.js
index 8370befd2..44f2e6942 100644
--- 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++ )
- $("<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);