2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-23 18:04:28 -06:00

Adjust whitespace characters

This commit is contained in:
Jason Butz 2016-06-03 09:09:33 -04:00
parent f21cca3068
commit 7187fb26fb

View File

@ -1697,7 +1697,7 @@ SimpleMDE.prototype.createToolbar = function(items) {
if(item.action) { if(item.action) {
if(typeof item.action === "function") { if(typeof item.action === "function") {
el.onclick = function(e) { el.onclick = function(e) {
e.preventDefault(); e.preventDefault();
item.action(self); item.action(self);
}; };
} else if(typeof item.action === "string") { } else if(typeof item.action === "string") {