From e145bb7574cad4fde4f04b2c9a73d8f57423c2e0 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 2 Jul 2016 17:01:25 -0400 Subject: [PATCH] Update simplemde.js Fixed improperly named method --- src/js/simplemde.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;