ba0e2c3758d46d1e85865f5c2730cd842515d73c chmalee Fri Jun 14 16:23:23 2024 -0700 Woops forgot a line, refs #33540 diff --git src/hg/js/utils.js src/hg/js/utils.js index 8907a01..4056bae 100644 --- src/hg/js/utils.js +++ src/hg/js/utils.js @@ -4182,32 +4182,31 @@ } function titleTagToMouseover(mapEl) { /* for a given area tag, extract the title text into a div that can be positioned * like a standard tooltip mouseover next to the item */ addMouseover(mapEl, mapEl.title); } function convertTitleTagsToMouseovers() { /* make all the title tags in the document have mouseovers */ $("[title]").each(function(i, a) { if (a.title !== undefined && (a.title.startsWith("click & drag to scroll") || a.title.startsWith("drag select or click to zoom"))) a.title = ""; else if (a.title !== undefined && a.title.length > 0) { - if (a.title.startsWith("Click to alter the display density") || - a.title.startsWith("drag select or click to zoom")) { + if (a.title.startsWith("Click to alter the display density")) { // these tooltips have a longer delay: a.setAttribute("tooltipDelay", "delayed"); } titleTagToMouseover(a); } }); /* Mouseover should clear if you leave the document window altogether */ document.body.addEventListener("mouseleave", (ev) => { clearTimeout(mouseoverTimer); if (mousemoveController) { mousemoveController.abort(); } hideMouseoverText(mouseoverContainer); canShowNewMouseover = false; // let mouseovers show up again upon moving back in to the window // but only need the event once