Use addcallbackAndRunD
This commit is contained in:
parent
2004c5e606
commit
8d9a992507
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue