fix: don't uppercase the shortcuts as the shortcuts are lowercase

pull/2908/head
Alexandre Dulaunoy 2018-02-06 11:18:27 +01:00
parent 14545f8ebf
commit 6d79a08b22
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 2 deletions

View File

@ -3303,7 +3303,7 @@ let keyboardShortcutsManager = {
addShortcutListToHTML() {
let html = "<ul>";
for(let shortcut of this.shortcutKeys.values()) {
html += `<li><strong>${shortcut.key.toUpperCase()}</strong>: ${shortcut.description}</li>`
html += `<li><strong>${shortcut.key}</strong>: ${shortcut.description}</li>`
}
html += "</ul>"
$('#shortcuts').html(html);
@ -3365,4 +3365,4 @@ $(document).ready(() => keyboardShortcutsManager.init());
// Inits the click event on the keyboard shortcut triangle at the bottom of the screen.
$('#triangle').click(keyboardShortcutsManager.onTriangleClick);
/* ============ END KEYBOARD SHORTCUTS ============*/
/* ============ END KEYBOARD SHORTCUTS ============*/