747cedcf600f86c8d981ab597c94b89e178b9ed6
chmalee
  Thu May 16 10:19:28 2024 -0700
Remove click & drag to scroll tooltip from hgTracks image, refs #33700

diff --git src/hg/js/utils.js src/hg/js/utils.js
index 0986413..417134d 100644
--- src/hg/js/utils.js
+++ src/hg/js/utils.js
@@ -4153,31 +4153,33 @@
     if (ele1) {
         ele1.setAttribute("mouseoverText", text);
         ele1.addEventListener("mouseover", showMouseover, {capture: true});
     }
 }
 
 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.length > 0) {
+        if (a.title.startsWith("click & drag to scroll"))
+            a.title = "";
+        else if (a.title !== undefined && a.title.length > 0) {
             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
         // use capture: true to force this event to happen
         // before the regular mouseover event
         document.body.addEventListener("mouseover", (evt) => {