Update button.js

This commit is contained in:
pearcetm 2022-07-28 17:55:21 -04:00 committed by GitHub
parent 6d5a75bcf7
commit 45643b94e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,7 +407,7 @@ $.extend( $.Button.prototype, $.EventSource.prototype, /** @lends OpenSeadragon.
*/ */
enable: function(){ enable: function(){
this.element.disabled = false; this.element.disabled = false;
this.element.setTracking(true); this.tracker.setTracking(true);
$.setElementOpacity( this.element, 1.0, true ); $.setElementOpacity( this.element, 1.0, true );
this.notifyGroupEnter(); this.notifyGroupEnter();
}, },