Fix variable type

pull/9/head
Wes Cossick 9 years ago
parent 3535ee7cd7
commit 6c91d90763

@ -510,7 +510,7 @@ SimpleMDE.prototype.render = function(el) {
this.codemirror = CodeMirror.fromTextArea(el, { this.codemirror = CodeMirror.fromTextArea(el, {
mode: 'markdown', mode: 'markdown',
theme: 'paper', theme: 'paper',
tabSize: (options.tabSize != undefined) ? options.tabSize : '2', tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
indentWithTabs: (options.indentWithTabs === false) ? false : true, indentWithTabs: (options.indentWithTabs === false) ? false : true,
lineNumbers: false, lineNumbers: false,
autofocus: (options.autofocus === true) ? true : false, autofocus: (options.autofocus === true) ? true : false,

Loading…
Cancel
Save