KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 87: | Zeile 87: | ||
$(this).click(function(e){ | $(this).click(function(e){ | ||
e.preventDefault(); | e.preventDefault(); | ||
if($('#Diese_Woche_im_TV + div table: | if($('#Diese_Woche_im_TV + div table:nth-child(2)').is( ":hidden" )) $('#Planer-target').hide('slow'); | ||
else $('#Diese_Woche_im_TV + div table: | else $('#Diese_Woche_im_TV + div table:nth-child(2)').hide('slow'); | ||
$('#Planer-target').load(url+'#mw-content-text table', function(){ | $('#Planer-target').load(url+'#mw-content-text table', function(){ | ||
$('#Planer-target').show('slow'); | $('#Planer-target').show('slow'); | ||