]> git.mxchange.org Git - friendica.git/commitdiff
diabook-theme: small fix
authortommy tomson <thomas.bierey@gmx.de>
Sat, 5 May 2012 22:36:46 +0000 (00:36 +0200)
committertommy tomson <thomas.bierey@gmx.de>
Sat, 5 May 2012 22:36:46 +0000 (00:36 +0200)
view/theme/diabook/theme.php

index afc8983dbd97ec8a4b30d1b41779cab8118679e2..2880df2d546879296317a7a5c452c13bb83ae2bb 100755 (executable)
@@ -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: "/" });
        };