From e1ab3a93cc450ca52c7651ecca8cad8334e5f1ce Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sun, 6 May 2012 00:36:46 +0200 Subject: [PATCH] diabook-theme: small fix --- view/theme/diabook/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index afc8983dbd..2880df2d54 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -285,7 +285,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; if($.cookie("close_twitter") == "1") { - document.getElementById( "twitter" ).style.display = "none"; + document.getElementById( "close_twitter" ).style.display = "none"; }; if($.cookie("close_lastusers") == "1") @@ -336,7 +336,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; }; function close_twitter(){ - document.getElementById( "twitter" ).style.display = "none"; + document.getElementById( "close_twitter" ).style.display = "none"; $.cookie("close_twitter","1", { expires: 365, path: "/" }); }; -- 2.39.5