Template:Team:TU Munich/LabHeader
From 2012.igem.org
(Difference between revisions)
Line 179: | Line 179: | ||
$('#W'+this.id).fadeToggle("slow", "linear") | $('#W'+this.id).fadeToggle("slow", "linear") | ||
if ($(this).hasClass('detailed')){ | if ($(this).hasClass('detailed')){ | ||
- | $(this). | + | $(this).removeClass('detailed') |
$(this).text('Hide Details...') | $(this).text('Hide Details...') | ||
}else { | }else { | ||
- | $(this). | + | $(this).addClass('detailed') |
$(this).text('Show Details...') | $(this).text('Show Details...') | ||
} | } |
Revision as of 15:22, 31 August 2012