4d2301171ce2d505505cbf835d37d17a5b058f06 tdreszer Wed Nov 23 12:19:14 2011 -0800 Katrina is very particular about colors diff --git src/hg/js/hui.js src/hg/js/hui.js index a1d3c4a..28fdbf8 100644 --- src/hg/js/hui.js +++ src/hg/js/hui.js @@ -1243,31 +1243,31 @@ matrix: undefined, dimensions: 0, cellInFocus: undefined, cellHover: function (cell,on) { if (on) { if (mat.cellInFocus != undefined) mat.clearGhostHilites(); // Necessary to clear ghosts mat.cellInFocus = cell; } else mat.cellInFocus = undefined; var classList = $( cell ).attr("class").split(" "); classList = aryRemove(classList,["matCell"]); - var color = (on ? "#FCECC0" : "");// "#FFF9D2"); setting to "" removes the hilite + var color = (on ? "#FEF3CC" : "");// "#FFF9D2"); setting to "" removes the hilite ("#FCECC0" is LEVEL3) for (var ix=0;ix < classList.length;ix++) { if (classList[ix] == 'all') continue; if (ix == 0) { $(".matCell."+classList[ix]).css({backgroundColor: color }); } else { $(cell).closest('tr').css({backgroundColor: color }) // faster? } } if (on && cell.title.length == 0) { for (var ix=0;ix < classList.length;ix++) { if (classList[ix] == 'all') { // on a label already cell.title = ""; break; }