Fixed news list hider function.

In the previous version the whole #hirek DIV was cleared, which rendered
the redisplay function faulty.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI 2012-08-16 09:25:00 +02:00
parent 111c563409
commit 36fbac8fcd

View File

@ -211,7 +211,7 @@
}); });
$('#news-close-button').click(function() { $('#news-close-button').click(function() {
$('#hirek').html(''); $('#news-content').html('');
$('#hirek').hide(); $('#hirek').hide();
$('#content-outline').css('width', '960px'); $('#content-outline').css('width', '960px');
$('#news-button').show(); $('#news-button').show();