diff options
author | John Resig <jeresig@gmail.com> | 2006-09-01 05:52:26 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2006-09-01 05:52:26 +0000 |
commit | c8009abcce562198cbc3930ed11f74dd62eba531 (patch) | |
tree | 0653407bea3ee0c7332c9a4723b20328ffe2d978 /build/docs/js | |
parent | 805d21c2360a10fa5e7ac85cc593b4403afb6c9f (diff) | |
download | jquery-c8009abcce562198cbc3930ed11f74dd62eba531.tar.gz jquery-c8009abcce562198cbc3930ed11f74dd62eba531.zip |
Lots of documentation overhaul - much more documented, cat output works better now.
Diffstat (limited to 'build/docs/js')
-rw-r--r-- | build/docs/js/doc.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/docs/js/doc.js b/build/docs/js/doc.js index ec52b664d..e5f7fcb9a 100644 --- a/build/docs/js/doc.js +++ b/build/docs/js/doc.js @@ -17,9 +17,11 @@ $(document).ready(function(){ }).ToolTipDemo('#fff'); $("a.name").click(function(){ - $("div.more,div.short",this.parentNode.parentNode).toggle('slow').find("div.desc",function(){ - $(this).html( $(this).html().replace(/\n\n/g, "<br/><br/>") ); - }); + $("div.more,div.short",this.parentNode.parentNode) + .find("div.desc",function(){ + $(this).html( $(this).html().replace(/\n\n/g, "<br/><br/>") ); + }) + .toggle('slow'); return false; }); |