mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Unicode wasn't transpiled properly
This commit is contained in:
parent
d7d88f816c
commit
c5ed8f456e
@ -119,9 +119,9 @@ Toolbar.prototype.addButton = function(button) {
|
|||||||
|
|
||||||
// Mac users are used to glyphs for shortcut keys
|
// Mac users are used to glyphs for shortcut keys
|
||||||
if (mac) {
|
if (mac) {
|
||||||
createdButton.title = createdButton.title.replace('Shift', "\u{21E7}")
|
createdButton.title = createdButton.title.replace('Shift', "\u21E7")
|
||||||
.replace('Meta', "\u{2318}")
|
.replace('Meta', "\u2318")
|
||||||
.replace('Alt', "\u{2325}")
|
.replace('Alt', "\u2325")
|
||||||
.replace(/\+/g, '');
|
.replace(/\+/g, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user