X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=build%2Fdocs%2Fjs%2Fpager.js;h=44f2e6942fed343bdc9f791024d7a75ab13220aa;hb=6b0d3bb273f09910921ed84539de06c2e7ecd19b;hp=12755aa081cb561dc09254542b536c920e3dc66c;hpb=51dd3736eb84b171b041f419f6fb8a7e8626b0f2;p=jquery.git diff --git a/build/docs/js/pager.js b/build/docs/js/pager.js index 12755aa..44f2e69 100644 --- a/build/docs/js/pager.js +++ b/build/docs/js/pager.js @@ -68,7 +68,9 @@ $.fn.pager = function(step) { pager = $("
"); for ( var i = 0; i < names.length; i++ ) - $("").rel( i ).html( names[i] ).click(function() { + $("").attr({ + rel: i, innerHTML: names[i] + }).click(function() { return handleCrop( this.rel ); }).wrap("").parent().appendTo(pager); @@ -102,7 +104,7 @@ $.fn.pager = function(step) { .addClass("cur"); pagedUI.empty().append( - jQuery.merge( rows, [] ).slice( s, s + e ) + jQuery.makeArray( rows ).slice( s, s + e ) ); return false;