503971452316c49918c2679667b0f99d7d5aa851
tdreszer
  Wed Feb 5 14:55:42 2014 -0800
Fixed a comment as per Galt's review #12618
diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 4e49bd02..5a1ee60 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -3542,31 +3542,31 @@
         // Retrieve tracks via AJAX that may take too long to draw initialliy (i.e. a remote bigWig)
         var retrievables = $('#imgTbl').find("tr.mustRetrieve")
         if($(retrievables).length > 0) {
             $(retrievables).each( function (i) {
                 var trackName = $(this).attr('id').substring(3);
                 imageV2.requestImgUpdate(trackName,"","");
             });
         }
         imageV2.loadRemoteTracks();
         makeItemsByDrag.load();
         
         // Any highlighted region must be shown and warnBox must play nice with it.
         imageV2.highlightRegion();
         // When warnBox is dismissed, any image highlight needs to be redrawn.
         $('#warnOK').click(function (e) { imageV2.highlightRegion()});
-        // Also entend the function that shows the warn box so that it too redraws the highlight.
+        // Also extend the function that shows the warn box so that it too redraws the highlight.
         showWarnBox = (function (oldShowWarnBox) {
             function newShowWarnBox() {
                 oldShowWarnBox.apply();
                 imageV2.highlightRegion();
             }
             return newShowWarnBox;
         })(showWarnBox);
     }
 
     // Drag select in chromIdeogram
     if($('img#chrom').length == 1) {
         if($('area.cytoBand').length >= 1) {
             $('img#chrom').chromDrag();
         }
     }