From 5a6cd9a5b5ce42846f14ede5e06c7d29f21e02e0 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 11 Dec 2023 11:13:58 +0100 Subject: [PATCH] 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. --- umap/static/umap/js/umap.core.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/umap/static/umap/js/umap.core.js b/umap/static/umap/js/umap.core.js index 639ebbd5..0ab38188 100644 --- a/umap/static/umap/js/umap.core.js +++ b/umap/static/umap/js/umap.core.js @@ -584,10 +584,6 @@ L.U.Help = L.Class.extend({ for (const id in this.map.helpMenuActions) { 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 },