From 21cfb0acf41ddc1e4ba04d66ee833dbfc7b80730 Mon Sep 17 00:00:00 2001 From: Andreas Levers Date: Wed, 31 Oct 2018 18:15:48 +0100 Subject: [PATCH] Fixed issue #1557: Typo in viewer.js Fixed a typo in areControlsEnabled --- src/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer.js b/src/viewer.js index 9be3e7fa..7f47f464 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -835,7 +835,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, var enabled = this.controls.length, i; for( i = 0; i < this.controls.length; i++ ){ - enabled = enabled && this.controls[ i ].isVisibile(); + enabled = enabled && this.controls[ i ].isVisible(); } return enabled; },