Use addcallbackAndRunD

This commit is contained in:
Pieter Vander Vennet 2021-06-30 15:42:31 +02:00
parent 2004c5e606
commit 8d9a992507

View file

@ -162,7 +162,7 @@ export default class SimpleMetaTagger {
}
const tagsSource = State.state.allElements.getEventSourceById(feature.properties.id);
tagsSource.addCallbackAndRun(tags => {
tagsSource.addCallbackAndRunD(tags => {
if (tags.opening_hours === undefined || tags._country === undefined) {
return;
}