f6f6af7270f8cd6ccf6dd70a0912d53f5c8217fc kate Fri Mar 23 12:14:40 2012 -0700 Fix for floating header break -- mistakenly overrode fadein rather than fadeout with fix for lost search radio buttons diff --git src/hg/js/encodeMatrix.js src/hg/js/encodeMatrix.js index cc80f56..6b6c203 100644 --- src/hg/js/encodeMatrix.js +++ src/hg/js/encodeMatrix.js @@ -108,31 +108,31 @@ $table.floatHeader({ cbFadeIn: function (header) { // hide axis labels -- a bit tricky to do so // as special handling needed for X axis label $('.floatHeader #headerLabelRow').remove(); $('.floatHeader #cellHeaderLabel').html(''); $('.floatHeader #searchTypePanel').remove(); // Note: user-defined callback requires // default actions from floatHeader plugin // implementation (stop+fadeIn) header.stop(true, true); header.fadeIn(100); }, - cbFadeIn: function (header) { + cbFadeOut: function (header) { // restore checked radio button that is the fadeIn cleared (on Chrome) if (encodeMatrix.isFileSearch()) { $('#searchFiles').attr('checked', true); } else { $('#searchTracks').attr('checked', true); } } }); }, hoverTableCrossHair: function ($table) { // Add Cross-hair effect (column and row hover) to table // thanks to Chris Coyier, css-tricks.com // NOTE: acts on colgroups declared at start of table // NOTE: uses many hard-coded CSS classes, and adds 'crossHair' class (relies on styling)