Do not display keyboard shortcuts in main help for now

This main help already display some of them, so let's first
focus on this label refactor, and then do a refactor of that
main help modal.
This commit is contained in:
Yohan Boniface 2023-12-11 11:13:58 +01:00
parent d98d5686fb
commit 5a6cd9a5b5

View file

@ -584,10 +584,6 @@ L.U.Help = L.Class.extend({
for (const id in this.map.helpMenuActions) { for (const id in this.map.helpMenuActions) {
addAction(this.map.helpMenuActions[id]) addAction(this.map.helpMenuActions[id])
} }
const kbdList = L.DomUtil.create('ul', 'kbd-list', container)
for (const key of Object.keys(this.SHORTCUTS)) {
L.DomUtil.add('li', '', kbdList, this.displayLabel(key))
}
return container return container
}, },