mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-17 13:15:12 +02:00
Fix variable type
This commit is contained in:
parent
3535ee7cd7
commit
6c91d90763
|
@ -510,7 +510,7 @@ SimpleMDE.prototype.render = function(el) {
|
|||
this.codemirror = CodeMirror.fromTextArea(el, {
|
||||
mode: 'markdown',
|
||||
theme: 'paper',
|
||||
tabSize: (options.tabSize != undefined) ? options.tabSize : '2',
|
||||
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
|
||||
indentWithTabs: (options.indentWithTabs === false) ? false : true,
|
||||
lineNumbers: false,
|
||||
autofocus: (options.autofocus === true) ? true : false,
|
||||
|
|
Loading…
Reference in a new issue