diff --git a/editormd.js b/editormd.js index b901a8b..d0c5d5d 100644 --- a/editormd.js +++ b/editormd.js @@ -365,7 +365,7 @@ var _this = this; var classPrefix = this.classPrefix = editormd.classPrefix; - var settings = this.settings = $.extend(true, editormd.defaults, options); + var settings = this.settings = $.extend(true, {}, editormd.defaults, options); id = (typeof id === "object") ? settings.id : id;