diff options
| author | fatchan <admin@fatpeople.lol> | 2016-06-01 19:51:21 +1000 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-06-09 11:20:23 +0200 |
| commit | 04f42b3802631a825d8ef112b153e66e962a0e66 (patch) | |
| tree | 2d2e369c5548508d83f8a429d43d55192231a280 /js | |
| parent | cdd963e79e0ffc5a7bcd69c9cd79d41c8ad74f52 (diff) | |
CSS hover instead of javascript mouseover. Need to use important because the dark/light text determined by IDToRGB is added inline and takes priority over stylesheets.
Diffstat (limited to 'js')
| -rw-r--r-- | js/id_colors.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/id_colors.js b/js/id_colors.js index 6335f960..55454476 100644 --- a/js/id_colors.js +++ b/js/id_colors.js @@ -50,12 +50,6 @@ if (active_page == 'thread' || active_page == 'index') { "border-radius": "8px", "color": ft }); - - $(el).mouseover(function() { - $(this).css('color', '#800000'); // how about a CSS :hover rule instead? - }).mouseout(function() { - $(this).css('color', ft); - }); } $(".poster_id").each(function(k, v){ |
