diff options
author | John Resig <jeresig@gmail.com> | 2007-01-06 22:34:12 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-01-06 22:34:12 +0000 |
commit | 458d427c0e4af4502e14400110b5327aa2513781 (patch) | |
tree | ed7f32f3e3513810e32c7443555ff593aa80ca25 /build | |
parent | ab0287681f790ad36beb5e35160bedfe181e30f7 (diff) | |
download | jquery-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.js | 4 |
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); |