fix on IE

This commit is contained in:
mike-000
2021-06-03 12:35:42 +01:00
committed by GitHub
parent c6a06018c3
commit 57e3fb1ee8

View File

@@ -86,7 +86,7 @@ map.on(['click', 'pointermove'], function (event) {
}
const fid = feature.getId();
if (selectElement.value.startsWith('singleselect')) {
if (selectElement.value.indexOf('singleselect') === 0) {
selection = {};
}
// add selected feature to lookup