Browse Source

Merge pull request #12 from lenbo-ma/master

修正一些小错误
v1.1.9
pandao 10 years ago
parent
commit
335cc73bd6
  1. 8
      src/js/editormd.js

8
src/js/editormd.js

@ -2011,7 +2011,7 @@
*/
getHTML : function() {
if (!settings.saveHTMLToTextarea)
if (!this.settings.saveHTMLToTextarea)
{
alert("Error: settings.saveHTMLToTextarea == false");
@ -2036,14 +2036,14 @@
*/
getPreviewedHTML : function() {
if (!settings.watch)
if (!this.settings.watch)
{
alert("Error: settings.watch == false");
return false;
}
return this.preivewContainer.html();
return this.previewContainer.html();
},
/**
@ -2898,4 +2898,4 @@
return editormd;
}));
}));

Loading…
Cancel
Save