fix html in tooltip on hidden presets

This commit is contained in:
Martin Raifer
2021-12-15 13:11:16 +01:00
parent fe4f5c9548
commit 69aa69153d

View File

@@ -467,7 +467,7 @@ export function uiPresetList(context) {
var isAutoHidden = context.features().autoHidden(hiddenPresetFeaturesId);
d3_select(this).call(uiTooltip()
.title(t.html('inspector.hidden_preset.' + (isAutoHidden ? 'zoom' : 'manual'), {
features: t.html('feature.' + hiddenPresetFeaturesId + '.description')
features: { html: t.html('feature.' + hiddenPresetFeaturesId + '.description') }
}))
.placement(index < 2 ? 'bottom' : 'top')
);