mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
parent
b9ff582762
commit
3656974fa2
@ -77,7 +77,7 @@ CommandList.prototype = {
|
||||
for (let [name, command] of Object.entries(manifest.commands)) {
|
||||
let suggested_key = command.suggested_key || {};
|
||||
let shortcut = suggested_key[os] || suggested_key.default;
|
||||
shortcut = shortcut ? shortcut.replace(/\s+/g, "") : null,
|
||||
shortcut = shortcut ? shortcut.replace(/\s+/g, "") : null;
|
||||
commands.set(name, {
|
||||
description: command.description,
|
||||
shortcut,
|
||||
|
Loading…
Reference in New Issue
Block a user