3e733747dcb442b0b8c52993cefd7a62033c0f05 bwick Thu May 22 13:17:42 2025 -0700 Removing legend button class. diff --git src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js index 9761f16..c1bed6f 100644 --- src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js +++ src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js @@ -8298,34 +8298,34 @@ $('#tpLegendContent').empty(); var htmls = []; var colors = []; var rows = gLegend.rows; var legTitle = gLegend.title; var subTitle = gLegend.subTitle; htmls.push('<span id="tpLegendTitle" title="' +gLegend.titleHover+'">'+legTitle+"</span>"); if (subTitle) htmls.push('<div id="tpLegendSubTitle" >'+subTitle+"</div>"); htmls.push('<div class="tpHint">Click buttons to select '+gSampleDesc+'s</small></div>'); - htmls.push("<small><button id='tpLegendAll' class='legendButton'>All</button>"); - htmls.push("<button id='tpLegendNone' class='legendButton'>None</button>"); - htmls.push("<button id='tpLegendInvert' class='legendButton'>Invert</button>"); - htmls.push("<button id='tpLegendNotNull' class='legendButton'>> 0</button></small>"); + htmls.push("<small><button id='tpLegendAll'>All</button>"); + htmls.push("<button id='tpLegendNone'>None</button>"); + htmls.push("<button id='tpLegendInvert'>Invert</button>"); + htmls.push("<button id='tpLegendNotNull'>> 0</button></small>"); let buttonText = "Recolor only checked"; if (gLegend.isColorOnlyChecked===true) { buttonText = "Reset colors"; } htmls.push("<button id='tpLegendColorChecked'>"+buttonText+"</button></small>"); htmls.push("</div>"); // title htmls.push('<div id="tpLegendHeader"><span id="tpLegendCol1"></span><span id="tpLegendCol2"></span></div>'); htmls.push('<div id="tpLegendRows">'); // get the sum of all, to calculate frequency var sum = 0; for (var i = 0; i < rows.length; i++) {