X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=build%2Fdocs%2Fjs%2Fpager.js;h=44f2e6942fed343bdc9f791024d7a75ab13220aa;hb=e95a6cc746f9217fa285a87c2e9c0705babf2824;hp=8370befd27cbcdf8dc1839e8de348635baa59af5;hpb=bb816b9c95b3ad8c6335588b4f232599d5838bd6;p=jquery.git diff --git a/build/docs/js/pager.js b/build/docs/js/pager.js index 8370bef..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);