diff options
author | Chris Mayo | 2019-03-15 20:17:05 +0000 |
---|---|---|
committer | June McEnroe | 2022-02-13 11:55:45 -0500 |
commit | b2511f29548d12a26a321ad5be433d82c49b135f (patch) | |
tree | a203f2a528cdbebf7d723e60b41a8ec81725c1f6 | |
parent | Improve button spacing for browsers w/o CSS (diff) | |
download | cgit-b2511f29548d12a26a321ad5be433d82c49b135f.tar.gz cgit-b2511f29548d12a26a321ad5be433d82c49b135f.zip |
Remove redundant title on repo anchors
The title attribute was being set to the same value as the anchor element text. Signed-off-by: Chris Mayo <aklhfex@gmail.com>
-rw-r--r-- | ui-repolist.c | 2 | ||||
-rw-r--r-- | ui-shared.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 591929b..97b11c5 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -321,7 +321,7 @@ void cgit_print_repolist(void) | |||
321 | } | 321 | } |
322 | htmlf("<tr><td class='%s'>", | 322 | htmlf("<tr><td class='%s'>", |
323 | !sorted && section ? "sublevel-repo" : "toplevel-repo"); | 323 | !sorted && section ? "sublevel-repo" : "toplevel-repo"); |
324 | cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); | 324 | cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); |
325 | html("</td><td>"); | 325 | html("</td><td>"); |
326 | repourl = cgit_repourl(ctx.repo->url); | 326 | repourl = cgit_repourl(ctx.repo->url); |
327 | html_link_open(repourl, NULL, NULL); | 327 | html_link_open(repourl, NULL, NULL); |
diff --git a/ui-shared.c b/ui-shared.c index 1488250..2bdec5d 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -1003,7 +1003,7 @@ static void print_header(void) | |||
1003 | if (ctx.repo) { | 1003 | if (ctx.repo) { |
1004 | cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); | 1004 | cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); |
1005 | html(" : "); | 1005 | html(" : "); |
1006 | cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); | 1006 | cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); |
1007 | if (ctx.env.authenticated) { | 1007 | if (ctx.env.authenticated) { |
1008 | html("</td><td class='form'>"); | 1008 | html("</td><td class='form'>"); |
1009 | html("<form method='get'>\n"); | 1009 | html("<form method='get'>\n"); |