Merge pull request #1562 from 96dpi/master

Fixed issue #1557: Typo in viewer.js
This commit is contained in:
Ian Gilman 2018-11-01 09:09:43 -07:00 committed by GitHub
commit a6e10e4ac4
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,
i;
for( i = 0; i < this.controls.length; i++ ){
enabled = enabled && this.controls[ i ].isVisibile();
enabled = enabled && this.controls[ i ].isVisible();
}
return enabled;
},