kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-07-30 02:32 pm

[dw-free] Tag cloud widget on front page is hard to read

[commit: http://hg.dwscoalition.org/dw-free/rev/17d6af7ec9b3]

http://bugs.dwscoalition.org/show_bug.cgi?id=1488

Remove altcolor for tag cloud text.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/weblib.pl
--------------------------------------------------------------------------------
diff -r 76412d03bb1f -r 17d6af7ec9b3 cgi-bin/weblib.pl
--- a/cgi-bin/weblib.pl	Thu Jul 30 09:20:58 2009 -0500
+++ b/cgi-bin/weblib.pl	Thu Jul 30 09:32:00 2009 -0500
@@ -2455,8 +2455,8 @@ sub tag_cloud {
         my $pt     = int($base_font_size + $percentile->($ct) * $font_size_range);
         $ret .= "<a ";
         $ret .= "id='taglink_$tag' " unless $opts->{ignore_ids};
-        $ret .= "href='" . LJ::ehtml($tagurl) . "' style='color: <?altcolor2?>; font-size: ${pt}pt; text-decoration: none'><span style='color: <?altcolor2?>'>";
-        $ret .= LJ::ehtml($tag) . "</span></a>\n";
+        $ret .= "href='" . LJ::ehtml($tagurl) . "' style='font-size: ${pt}pt; text-decoration: none'>";
+        $ret .= LJ::ehtml($tag) . "</a>\n";
 
         # build hash of tagname => final point size for refresh
         $tagdata{$tag} = $pt;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org