From aeb86dd41866a5927a34dbf4aaa3c89c62b585ff Mon Sep 17 00:00:00 2001 From: Wes Cossick Date: Fri, 26 Jun 2015 14:01:02 -0500 Subject: [PATCH] Fix two inconsistencies with the documentation --- source files/markdownify.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source files/markdownify.js b/source files/markdownify.js index ed41cfd..fa983a2 100644 --- a/source files/markdownify.js +++ b/source files/markdownify.js @@ -445,7 +445,7 @@ function SimpleMDE(options) { } if(options.toolbar === false) - options.toolbar = []; + options.toolbar = false; else options.toolbar = options.toolbar || SimpleMDE.toolbar; // you can customize toolbar with object @@ -458,9 +458,7 @@ function SimpleMDE(options) { this.options = options; // If user has passed an element, it should auto rendered - if (this.element) { - this.render(); - } + this.render(); } /**