Skip to content

Commit

Permalink
Update editormd.js
Browse files Browse the repository at this point in the history
修正setting变量出现undefined错误
  • Loading branch information
kevinma2010 committed Feb 18, 2015
1 parent 0e87bb4 commit ccf3252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/editormd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,7 @@
*/

getHTML : function() {
if (!settings.saveHTMLToTextarea)
if (!this.settings.saveHTMLToTextarea)
{
alert("Error: settings.saveHTMLToTextarea == false");

Expand Down

0 comments on commit ccf3252

Please sign in to comment.