]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-tree.c
Reduce line number bloat, fix hover effect
[cgit.git] / ui-tree.c
index aa5dee93c46a680d3acd62f61b801ab3f25024ab..52b57b7a07ddbb313def5296529b31682a0705d5 100644 (file)
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -21,8 +21,7 @@ struct walk_tree_context {
 static void print_text_buffer(const char *name, char *buf, unsigned long size)
 {
        unsigned long lineno, idx;
-       const char *numberfmt =
-               "<a class='no' id='n%1$d' name='n%1$d' href='#n%1$d'>%1$d</a>\n";
+       const char *numberfmt = "<a id='n%1$d' href='#n%1$d'>%1$d</a>\n";
 
        html("<table summary='blob content' class='blob'>\n");