Fix guide button not working

pull/6/head
Jeroen Akkerman 6 years ago
parent acf45c8d58
commit 68601d9d38

File diff suppressed because one or more lines are too long

@ -1787,8 +1787,10 @@ SimpleMDE.prototype.createToolbar = function (items) {
item.action(self);
};
} else if (typeof item.action === 'string') {
el.href = item.action;
el.target = '_blank';
el.onclick = function (e) {
e.preventDefault();
window.open(item.action, '_blank');
};
}
}

Loading…
Cancel
Save