Fixed issue #1557: Typo in viewer.js

Fixed a typo in areControlsEnabled
This commit is contained in:
Andreas Levers 2018-10-31 18:15:48 +01:00 committed by GitHub
parent 7abb2211eb
commit 21cfb0acf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -835,7 +835,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
var enabled = this.controls.length, var enabled = this.controls.length,
i; i;
for( i = 0; i < 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; return enabled;
}, },