OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
679a1a1
)
gitweb: add empty alt text to avatar img
author
Giuseppe Bilotta
<giuseppe.bilotta@gmail.com>
Mon, 29 Jun 2009 22:00:54 +0000
(
00:00
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 30 Jun 2009 18:06:37 +0000
(11:06 -0700)
The empty alt text optimizes screen estate in text-only browsers.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index
862ea99
..
6a1b5b5
100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-1574,6
+1574,7
@@
sub git_get_avatar {
"<img width=\"$size\" " .
"class=\"avatar\" " .
"src=\"$url\" " .
+ "alt=\"\" " .
"/>" . $post_white;
} else {
return "";