diff --git a/src/js/simplemde.js b/src/js/simplemde.js index aba9202..e6a084d 100644 --- a/src/js/simplemde.js +++ b/src/js/simplemde.js @@ -1697,7 +1697,7 @@ SimpleMDE.prototype.createToolbar = function(items) { if(item.action) { if(typeof item.action === "function") { el.onclick = function(e) { - e.preventDefault(); + e.preventDefault(); item.action(self); }; } else if(typeof item.action === "string") {