From 00fa95823e8b3149828436741203fbac68de821d Mon Sep 17 00:00:00 2001 From: Wes Cossick Date: Tue, 11 Aug 2015 11:26:46 -0500 Subject: [PATCH] Rename option defaultValue > initialValue --- src/js/simplemde.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/simplemde.js b/src/js/simplemde.js index 420cd1a..e89bb52 100644 --- a/src/js/simplemde.js +++ b/src/js/simplemde.js @@ -473,10 +473,10 @@ function SimpleMDE(options) { this.render(); // The codemirror component is only available after rendering - // so, the setter for the defaultValue can only run after + // so, the setter for the initialValue can only run after // the element has been rendered - if (options.defaultValue) { - this.value(options.defaultValue); + if (options.initialValue) { + this.value(options.initialValue); } }