1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 17:24:12 +01:00

Italicize new news items for a much needed sharper visual distinction.

This commit is contained in:
Kris Maglione
2011-02-19 06:25:32 -05:00
parent 29e9c51eb8
commit 73917f7cee
4 changed files with 6 additions and 4 deletions

View File

@@ -725,7 +725,8 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
let t = tags;
tags = array(betas.iterate(tags)).map(function (m) m[1]);
let group = tags.length && !tags.some(function (t) t == beta) ? "HelpNewsOld" : "";
let group = !tags.length ? "" :
!tags.some(function (t) t == beta) ? "HelpNewsOld" : "HelpNewsNew";
if (i === 0 && li) {
li.@highlight = group;
group = "";