mirror of https://github.com/MISP/MISP
fix: don't uppercase the shortcuts as the shortcuts are lowercase
parent
14545f8ebf
commit
6d79a08b22
|
@ -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 ============*/
|
||||
|
|
Loading…
Reference in New Issue