e5469e2dd98bc8aeacbc6e77fc6b344aebe6327e
max
  Mon Mar 8 07:00:03 2021 -0800
fixing mouseclick problem for gene tracks, refs #26687

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 5345f4f..7bf89c8 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -2766,31 +2766,31 @@
                             }
                             // For barChart mouseovers, replace title (which may be a category 
                             // name+value) with item name
                             if (rec.type.indexOf("barChart") === 0
                             || rec.type.indexOf("bigBarChart") === 0) {
                                 a = /i=([^&]+)/.exec(href);
                                 if (a && a[1]) {
                                     title = a[1];
                                 }
                             }
                         }
 
                         // when "exonNumbers on", the mouse over text is not a good item description for the right-click menu
                         // "exonNumbers on" is the default for genePred/bigGenePred tracks but can also be actived for bigBed and others
                         // We don't have the value of "exonNumbers" here, so just use a heuristic to see if it's on
-                        if (title.search(/, strand [+-], Intron /)!==-1) {
+                        if (title.search(/, strand [+-], (Intron|Exon) /)!==-1) {
                             title = title.split(",")[0];
                         }
 
                         else if (isHgc && ( href.indexOf('g=gtexGene')!== -1 
                                             || href.indexOf('g=unip') !== -1 
                                             || href.indexOf('g=knownGene') !== -1 )) {
                             // For GTEx gene and UniProt mouseovers, replace title (which may be a tissue name) with 
                             // item (gene) name. Also need to unescape the urlencoded characters and the + sign.
                             a = /i=([^&]+)/.exec(href);
                             if (a && a[1]) {
                                 title = decodeURIComponent(a[1].replace(/\+/g, " "));
                             }
                         }
 
                         if (displayItemFunctions) {