From 36fbac8fcd9dbddc268c8a686895250acc3a06cf Mon Sep 17 00:00:00 2001 From: Gergely POLONKAI Date: Thu, 16 Aug 2012 09:25:00 +0200 Subject: [PATCH] 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 --- .../FrontBundle/Resources/views/Default/main_template.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KekRozsak/FrontBundle/Resources/views/Default/main_template.html.twig b/src/KekRozsak/FrontBundle/Resources/views/Default/main_template.html.twig index 0c47411..9de3460 100644 --- a/src/KekRozsak/FrontBundle/Resources/views/Default/main_template.html.twig +++ b/src/KekRozsak/FrontBundle/Resources/views/Default/main_template.html.twig @@ -211,7 +211,7 @@ }); $('#news-close-button').click(function() { - $('#hirek').html(''); + $('#news-content').html(''); $('#hirek').hide(); $('#content-outline').css('width', '960px'); $('#news-button').show();