From ccf32529a651d46c7da337ee6afd9502af5ac984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E9=9A=86=E5=8D=9A?= Date: Thu, 19 Feb 2015 00:30:28 +0800 Subject: [PATCH] Update editormd.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正setting变量出现undefined错误 --- src/js/editormd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/editormd.js b/src/js/editormd.js index d649130..3f5e5db 100644 --- a/src/js/editormd.js +++ b/src/js/editormd.js @@ -2015,7 +2015,7 @@ */ getHTML : function() { - if (!settings.saveHTMLToTextarea) + if (!this.settings.saveHTMLToTextarea) { alert("Error: settings.saveHTMLToTextarea == false");