Skip to content

Commit

Permalink
Fixes ericlbarnes#56 - The mac cmd and alt shortcut keys got encoded …
Browse files Browse the repository at this point in the history
…strangely at some point.
  • Loading branch information
ericlbarnes committed Jul 27, 2013
1 parent 2ebe6ea commit b47a7d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/assets/vendor/plugins/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6803,9 +6803,9 @@ var createIcon = function(name, options) {
if (shortcut) {
shortcut = fixShortcut(shortcut);
el.title = shortcut;
el.title = el.title.replace('Cmd', 'âŒ');
el.title = el.title.replace('Cmd', '');
if (isMac) {
el.title = el.title.replace('Alt', '⌥');
el.title = el.title.replace('Alt', '');
}
}

Expand Down
4 changes: 2 additions & 2 deletions public/admin/js/structure.js
Original file line number Diff line number Diff line change
Expand Up @@ -13562,9 +13562,9 @@ var createIcon = function(name, options) {
if (shortcut) {
shortcut = fixShortcut(shortcut);
el.title = shortcut;
el.title = el.title.replace('Cmd', 'âŒ');
el.title = el.title.replace('Cmd', '');
if (isMac) {
el.title = el.title.replace('Alt', '⌥');
el.title = el.title.replace('Alt', '');
}
}

Expand Down

0 comments on commit b47a7d0

Please sign in to comment.