From 45643b94e3b80d86f05541f00a64f5dfc3b5d1c9 Mon Sep 17 00:00:00 2001 From: pearcetm Date: Thu, 28 Jul 2022 17:55:21 -0400 Subject: [PATCH] Update button.js --- src/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/button.js b/src/button.js index c3a84a82..efa9eec3 100644 --- a/src/button.js +++ b/src/button.js @@ -407,7 +407,7 @@ $.extend( $.Button.prototype, $.EventSource.prototype, /** @lends OpenSeadragon. */ enable: function(){ this.element.disabled = false; - this.element.setTracking(true); + this.tracker.setTracking(true); $.setElementOpacity( this.element, 1.0, true ); this.notifyGroupEnter(); },