da34e9cb9209ae2d8bce2b8a4b5102df58d94db5
chmalee
  Tue Jul 11 10:48:12 2023 -0700
Forgot to pass the arguments through when binding to new function, refs #31742

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 881a7e4..9e6c750 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -5497,31 +5497,31 @@
         $('#warnOK').click(function (e) { imageV2.drawHighlights();});
         // Also extend the function that shows the warn box so that it too redraws the highlight.
         showWarnBox = (function (oldShowWarnBox) {
             function newShowWarnBox() {
                 oldShowWarnBox.apply();
                 imageV2.drawHighlights();
             }
             return newShowWarnBox;
         })(showWarnBox);
         // redraw highlights if the notification box is closed
         $("[id$=notifyHide],[id$=notifyHideForever]").click(function(e) {
             imageV2.drawHighlights();
         });
         notifBoxShow = (function(oldNotifBoxShow) {
             function newNotifBoxShow() {
-                oldNotifBoxShow.apply();
+                oldNotifBoxShow.apply(null, arguments);
                 imageV2.drawHighlights();
             }
             return newNotifBoxShow;
         })(notifBoxShow);
     }
 
     // Drag select in chromIdeogram
     if ($('img#chrom').length === 1) {
         if ($('area.cytoBand').length >= 1) {
             $('img#chrom').chromDrag();
         }
     }
 
     // Track search uses tabs
     trackSearch.init();