mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-23 18:04:28 -06:00
Fix typo in code
This commit is contained in:
parent
7e58a01a35
commit
b5407e01e0
@ -100,7 +100,7 @@ function createIcon(options, enableTooltips, shortcuts) {
|
|||||||
enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;
|
enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;
|
||||||
|
|
||||||
if(options.title && enableTooltips) {
|
if(options.title && enableTooltips) {
|
||||||
el.title = createTootlip(options.title, options.action, shortcuts);
|
el.title = createTooltip(options.title, options.action, shortcuts);
|
||||||
|
|
||||||
if(isMac) {
|
if(isMac) {
|
||||||
el.title = el.title.replace("Ctrl", "⌘");
|
el.title = el.title.replace("Ctrl", "⌘");
|
||||||
@ -120,7 +120,7 @@ function createSep() {
|
|||||||
return el;
|
return el;
|
||||||
}
|
}
|
||||||
|
|
||||||
function createTootlip(title, action, shortcuts) {
|
function createTooltip(title, action, shortcuts) {
|
||||||
var actionName;
|
var actionName;
|
||||||
var tooltip = title;
|
var tooltip = title;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user