From edf512514917706db7c1be0b18f0ccbc9ce0cf13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Mon, 27 Jul 2020 22:12:20 +0200 Subject: [PATCH] Fix kml-earthquakes tooltip --- examples/kml-earthquakes.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/kml-earthquakes.js b/examples/kml-earthquakes.js index b2ea2b175d..0462230a81 100644 --- a/examples/kml-earthquakes.js +++ b/examples/kml-earthquakes.js @@ -73,11 +73,7 @@ const displayFeatureInfo = function (pixel) { return feature; }); if (feature) { - info - .tooltip('hide') - .attr('data-original-title', feature.get('name')) - .tooltip('fixTitle') - .tooltip('show'); + info.attr('data-original-title', feature.get('name')).tooltip('show'); } else { info.tooltip('hide'); }