diff --git a/src/js/simplemde.js b/src/js/simplemde.js index 016d693..3bfa2ae 100644 --- a/src/js/simplemde.js +++ b/src/js/simplemde.js @@ -100,7 +100,7 @@ function createIcon(options, enableTooltips, shortcuts) { enableTooltips = (enableTooltips == undefined) ? true : enableTooltips; if(options.title && enableTooltips) { - el.title = createTootlip(options.title, options.action, shortcuts); + el.title = createTooltip(options.title, options.action, shortcuts); if(isMac) { el.title = el.title.replace("Ctrl", "⌘"); @@ -120,7 +120,7 @@ function createSep() { return el; } -function createTootlip(title, action, shortcuts) { +function createTooltip(title, action, shortcuts) { var actionName; var tooltip = title; @@ -2025,4 +2025,4 @@ SimpleMDE.prototype.toTextArea = function() { } }; -module.exports = SimpleMDE; \ No newline at end of file +module.exports = SimpleMDE;