mirror of
https://github.com/discourse/discourse.git
synced 2025-03-05 02:39:26 +00: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
|
||||
if (mac) {
|
||||
createdButton.title = createdButton.title.replace('Shift', "\u{21E7}")
|
||||
.replace('Meta', "\u{2318}")
|
||||
.replace('Alt', "\u{2325}")
|
||||
createdButton.title = createdButton.title.replace('Shift', "\u21E7")
|
||||
.replace('Meta', "\u2318")
|
||||
.replace('Alt', "\u2325")
|
||||
.replace(/\+/g, '');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user