60b4b2383869d11fba48ea5dfe616d9b90ebaecf
kate
  Thu Nov 17 09:43:58 2016 -0800
Fix GO button (broken by CSS refactor). refs #17369

diff --git src/hg/js/hgGtexTrackSettings.js src/hg/js/hgGtexTrackSettings.js
index 7396d2c..4faadef 100644
--- src/hg/js/hgGtexTrackSettings.js
+++ src/hg/js/hgGtexTrackSettings.js
@@ -296,31 +296,31 @@
             }
             //  Handle case where there are multiple paths for the tissue, and topTissue will be a parent
             toParent = toTarget.parentElement;
             if (toParent && toParent.id === _topTissueId) {
                 return;
             }
         }
         var svgId = ev.currentTarget.id;
         var tis = (svgId === _topTissueId ? _topTissueName :  tissueFromSvgId(svgId));
         unHighlightTissue(tis);
     }
 
     function submitForm() {
     // Submit the form (from GO button -- as in hgGateway.js)
     // Show a spinner -- sometimes it takes a while for hgTracks to start displaying.
-    $('.gbGoIcon').removeClass('fa-play').addClass('fa-spinner fa-spin');
+    $('.gbIconGo').removeClass('fa-play').addClass('fa-spinner fa-spin');
     $form = $('form');
     $form.submit();
     }
 
     // Initialization
 
     function initTissue(tis) {
         // Set tissue to unhighlighted state
         $('#' + tis + PIC_HI, _svgRoot).hide();
         $('#' + tis + AURA_HI, _svgRoot).hide();
 
         // Mark tissue labels in svg
         var textEl = _svgDoc.getElementById(tis + TEXT_HI);
         if (textEl !== null) {
             textEl.classList.add(CLASS_TISSUE_LABEL);
@@ -370,26 +370,26 @@
         // cart.setCgi('gtexTrackSettings');
 
         $(function() {
             // After page load, tweak layout and initialize event handlers
             // TODO: need to wait onready ?
             var bodyMapSvg = document.getElementById('bodyMapSvg');
 
             // Wait for SVG to load
             bodyMapSvg.addEventListener('load', function() {
                 _svgRoot = bodyMapSvg.contentDocument.documentElement;
                 _svgDoc = bodyMapSvg.contentDocument;
                 
                 initBodyMap();
                 animateTissues();
             }, false);
-            $('.goButtonContainer').click(submitForm);
+            $('.gbButtonGoContainer').click(submitForm);
         });
     }
 
     return {
             init: init
            };
     
 }()); // gtexTrackSettings
 
 gtexTrackSettings.init();