diff --git a/src/js/editormd.js b/src/js/editormd.js index 3cb862e..d649130 100644 --- a/src/js/editormd.js +++ b/src/js/editormd.js @@ -2040,7 +2040,7 @@ */ getPreviewedHTML : function() { - if (!settings.watch) + if (!this.settings.watch) { alert("Error: settings.watch == false"); @@ -2902,4 +2902,4 @@ return editormd; -})); \ No newline at end of file +}));