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; },