$(this).parent().hide()
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Wed, 30 Nov 2011 20:15:38 +0000 (20:15 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Wed, 30 Nov 2011 20:15:38 +0000 (20:15 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@155 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index 0ea9378..b290bf7 100644 (file)
@@ -1622,8 +1622,8 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
    fputs("</span>\n",f);\r
    if(popup_button)\r
    {\r
-    fprintf(f,"<span id=\"toggle_%d\">[<a href=\"#\" onClick=\"$(\'#toggle_%d\').remove();$(\'#sharing_%d\').show();$(\'#download_%d\').show();$(\'#upload_%d\').show();return(false);\" style=\"cursor: pointer; text-decoration:none;\">+</a>]</span>",\r
-              i, i, i, i, i);\r
+    fprintf(f,"<span>[<a href=\"#\" onClick=\"$(this).parent().hide();$(\'#sharing_%d\').show();$(\'#download_%d\').show();$(\'#upload_%d\').show();return(false);\" style=\"cursor: pointer; text-decoration:none;\">+</a>]</span>",\r
+              i, i, i);\r
    }\r
    fputs("</td>\n",f);\r
    /* ----------------------------------------------- */\r
This page took 0.156425 seconds and 4 git commands to generate.