From: tommy tomson Date: Sat, 5 May 2012 22:36:46 +0000 (+0200) Subject: diabook-theme: small fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1ab3a93cc450ca52c7651ecca8cad8334e5f1ce;p=friendica.git diabook-theme: small fix --- 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: "/" }); };