b58e484115835ff0480319007cc5af16a3d0a5bc max Fri May 23 07:43:05 2025 -0700 tiny change diff --git src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js index 9761f16..4a258f5 100644 --- src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js +++ src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js @@ -8853,31 +8853,31 @@ var labelField = renderer.getLabelField(); var metaInfo = db.findMetaInfo(labelField); var longLabels = metaInfo.ui.longLabels; if (longLabels) { for (let i=0; i<longLabels.length; i++) { let shortLabel = metaInfo.ui.shortLabels[i]; let longLabel = longLabels[i]; if (clusterName===shortLabel && longLabel!==shortLabel) { labelLines.push(longLabels[i]); break; } } } - if (labelField == db.conf.labelField) { + if (labelField === db.conf.labelField) { if (db.conf.topMarkers!==undefined) { labelLines.push("Top enriched/depleted markers: "+db.conf.topMarkers[clusterName].join(", ")); } labelLines.push(""); if (db.conf.markers!==undefined && !isLegend) labelLines.push("Click to show full marker gene list."); if (db.conf.clusterPngDir!==undefined) { var fullPath = cbUtil.joinPaths([db.name, db.conf.clusterPngDir, clusterName+".png"]); labelLines.push("<img src='"+fullPath+"'>"); } } if (!isLegend)