#382 typo on typeof function check

This commit is contained in:
Walker Randolph Smith 2017-04-08 17:13:52 -04:00
parent 2c72173366
commit c29bcba5ff
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ textmode.create = function (container, options) {
var emptyNode = {}; var emptyNode = {};
var isReadOnly = (this.options.onEditable var isReadOnly = (this.options.onEditable
&& typeof(this.options.onEditable === 'Function') && typeof(this.options.onEditable === 'function')
&& !this.options.onEditable(emptyNode)); && !this.options.onEditable(emptyNode));
this.textarea.readOnly = isReadOnly; this.textarea.readOnly = isReadOnly;