36e0071a570d0478202fe52b608ae54901d84345 tdreszer Wed Jun 4 15:47:06 2014 -0700 Fix for tool-tip hover on hgTrackUi matrices, as reported by Jonathon. diff --git src/hg/js/hui.js src/hg/js/hui.js index 40c5e95..42adb31 100644 --- src/hg/js/hui.js +++ src/hg/js/hui.js @@ -1224,31 +1224,31 @@ 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 cIx=0;cIx < classList.length;cIx++) { if (classList[cIx] === 'all') { // on a label already cell.title = ""; break; } if (cell.title.length > 0) cell.title += " and "; - cell.title += $("th."+classList[ix]).first().text(); + cell.title += $("th."+classList[cIx]).first().text(); } } }, clearGhostHilites: function () { $('.matCell').css({backgroundColor:""}); $(mat.matrix).find('tr').css({backgroundColor:""}); }, resizeAngleLabels: function () { // Sets the height on the angled matrix labels var longest = ""; var up45 = $('div.up45'); $(up45).each(function (i) {