From 7c9b47edb57f580111c4aa376b67f76c968601f1 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 11 Jul 2022 20:24:38 +0200 Subject: [PATCH] fix typo in flash module, make linter happy --- modules/ui/feature_info.js | 2 +- modules/ui/flash.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/feature_info.js b/modules/ui/feature_info.js index 84f146d7c..47114f0d4 100644 --- a/modules/ui/feature_info.js +++ b/modules/ui/feature_info.js @@ -26,7 +26,7 @@ export function uiFeatureInfo(context) { return selection => { hiddenList.forEach(hiddenFeature => { selection.append('div').call(hiddenFeature); - }) + }); }; }); diff --git a/modules/ui/flash.js b/modules/ui/flash.js index 592f0ecb2..11a1194fb 100644 --- a/modules/ui/flash.js +++ b/modules/ui/flash.js @@ -92,7 +92,7 @@ export function uiFlash(context) { if (typeof _ !== 'function') { _label = selection => selection.text(_); } else { - _label = selection => s_; + _label = selection => selection.text('').call(_); } return flash; };