Fixed some bugs, improved the quality of some of the variables.

This commit is contained in:
John Resig 2006-08-24 19:43:21 +00:00
parent 874e4f65ee
commit ccf9d44062
3 changed files with 69 additions and 56 deletions

View file

@ -17,7 +17,7 @@ $(document).ready(function(){
}).ToolTipDemo('#fff');
$("a.name").click(function(){
$("div.more,div.short",this.parentNode.parentNode).toggle().find("div.desc",function(){
$("div.more,div.short",this.parentNode.parentNode).toggle('slow').find("div.desc",function(){
$(this).html( $(this).html().replace(/\n\n/g, "<br/><br/>") );
});
return false;