refactor: Update ZenKeyboardShortcuts to use gZenUIManager.createValidXULText for key attribute

This commit is contained in:
Mauro Balades 2024-08-24 15:17:08 +02:00
parent e12618009e
commit d83b0ac342

View file

@ -290,7 +290,7 @@ var gZenKeyboardShortcuts = {
<key
id="zen-key_${_action}"
class="zen-keyboard-shortcut"
key="${key}"
key="${gZenUIManager.createValidXULText(key)}"
${this._getCommandAttribute(action)}
modifiers="${modifiers}"/>
`);