fix for undefined scrollbar style

pull/250/head
dani 4 years ago
parent c696922fe1
commit 29d2c6c5be

@ -2040,7 +2040,7 @@ EasyMDE.prototype.render = function (el) {
allowDropFileTypes: ['text/plain'],
placeholder: options.placeholder || el.getAttribute('placeholder') || '',
styleSelectedText: (options.styleSelectedText != undefined) ? options.styleSelectedText : !isMobile(),
scrollbarStyle: options.scrollbarStyle,
scrollbarStyle: (options.scrollbarStyle != undefined) ? options.scrollbarStyle : 'native',
configureMouse: configureMouse,
inputStyle: (options.inputStyle != undefined) ? options.inputStyle : isMobile() ? 'contenteditable' : 'textarea',
spellcheck: (options.nativeSpellcheck != undefined) ? options.nativeSpellcheck : true,

Loading…
Cancel
Save