c3c718547c9cf55b954eb2ee05f4f33b064cee31
tdreszer
  Wed Nov 2 17:26:05 2011 -0700
matrix side labels don't need too tips.
diff --git src/hg/js/hui.js src/hg/js/hui.js
index 7c01a30..61d9c83 100644
--- src/hg/js/hui.js
+++ src/hg/js/hui.js
@@ -1210,32 +1210,34 @@
     cellHover: function (obj,on)
     {
         var classList = $( obj ).attr("class").split(" ");
         classList = aryRemove(classList,["matCell"]);
         for (var ix=0;ix < classList.length;ix++) {
             if (classList[ix] == 'all')
                 continue;
             var cells = $(".matCell."+classList[ix]);
             if (on)
                 $(cells).css({backgroundColor:"#FCECC0"});
             else
                 $(cells).css({backgroundColor:"#FFF9D2"});
         }
         if (on && obj.title.length == 0) {
             for (var ix=0;ix < classList.length;ix++) {
-                if (classList[ix] == 'all')
-                    continue;
+                if (classList[ix] == 'all') { // on a label already
+                    obj.title = "";
+                    break;
+                }
                 if (obj.title.length > 0)
                     obj.title += " and ";
                 obj.title += $("th."+classList[ix]).first().text();
             }
         }
     },
 
     init: function ()
     {
         var cells = $('td.matCell');
         if (cells != undefined && cells.length > 0) {
             var classList = $( cells[0] ).attr("class").split(" ");
             classList = aryRemove(classList,["matCell"]);
             mat.dimensions = classList.length;
             if (mat.dimensions > 1) { // No need unless this is a 2D matrix