]> git.wh0rd.org Git - tt-rss.git/commitdiff
feedlist generator, collapse link: onclick -> href
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 5 Mar 2007 07:18:51 +0000 (08:18 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 5 Mar 2007 07:18:51 +0000 (08:18 +0100)
functions.php

index 559b82c0a85794b75681bf086f20b10182890c60..f714abc4af9ca66f8b2c4253ce2536e995de1e48 100644 (file)
                                        $catctr_class = ($cat_unread > 0) ? "catCtrHasUnread" : "catCtrNoUnread";
 
                                        print "<li class=\"feedCat\" id=\"FCAT-$cat_id\">
-                                               <a id=\"FCATN-$cat_id\" href=\"#\" onclick=\"javascript:toggleCollapseCat($cat_id)\">$tmp_category</a>
+                                               <a id=\"FCATN-$cat_id\" href=\"javascript:toggleCollapseCat($cat_id)\">$tmp_category</a>
                                                        <a href=\"#\" onclick=\"javascript:viewCategory($cat_id)\" id=\"FCAP-$cat_id\">
                                                        <span id=\"FCATCTR-$cat_id\" title=\"Click to browse category\" 
                                                        class=\"$catctr_class\">($cat_unread)</span> $ellipsis