From 0112547c890253aa1abd1003188fdf30813909b0 Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Mon, 13 Jul 2020 15:28:37 -0400 Subject: [PATCH] Fix map data style options tooltip keyboard shortcuts (close #7778) --- modules/ui/sections/map_style_options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/sections/map_style_options.js b/modules/ui/sections/map_style_options.js index 61067e891..f22df182f 100644 --- a/modules/ui/sections/map_style_options.js +++ b/modules/ui/sections/map_style_options.js @@ -53,7 +53,7 @@ export function uiSectionMapStyleOptions(context) { .keys(function(d) { var key = (d === 'wireframe' ? t('area_fill.wireframe.key') : null); if (d === 'highlight_edits') key = t('map_data.highlight_edits.key'); - return [key]; + return key ? [key] : null; }) .placement('top') );