Change the way we access some viewer methods

This commit is contained in:
Luis Nieto 2021-07-12 13:42:31 -05:00
parent 1f73dde983
commit 22bb516bc0

View File

@ -1646,8 +1646,8 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
var onFocusHandler = $.delegate( this, onFocus ), var onFocusHandler = $.delegate( this, onFocus ),
onBlurHandler = $.delegate( this, onBlur ), onBlurHandler = $.delegate( this, onBlur ),
onNextHandler = $.delegate( this, this['goToNextPage'] ), onNextHandler = $.delegate( this, this.goToNextPage ),
onPreviousHandler = $.delegate( this, this['goToPreviousPage'] ), onPreviousHandler = $.delegate( this, this.goToPreviousPage ),
navImages = this.navImages, navImages = this.navImages,
useGroup = true; useGroup = true;