diff --git a/Logic/Actors/ImageSearcher.ts b/Logic/Actors/ImageSearcher.ts index 165442d6f..cda9158b2 100644 --- a/Logic/Actors/ImageSearcher.ts +++ b/Logic/Actors/ImageSearcher.ts @@ -66,7 +66,7 @@ export class ImageSearcher extends UIEventSource<{ key: string, url: string }[]> }); if (loadSpecial) { - tags.addCallbackAndRun(tags => { + tags.addCallbackAndRunD(tags => { const wdItem = tags.wikidata; if (wdItem !== undefined) { diff --git a/Logic/Actors/TitleHandler.ts b/Logic/Actors/TitleHandler.ts index 16459bac8..8c807cadd 100644 --- a/Logic/Actors/TitleHandler.ts +++ b/Logic/Actors/TitleHandler.ts @@ -61,7 +61,7 @@ export default class TitleHandler { constructor(layoutToUse: UIEventSource, selectedFeature: UIEventSource, allElementsStorage: ElementStorage) { - new TitleElement(layoutToUse, selectedFeature, allElementsStorage).addCallbackAndRun(title => { + new TitleElement(layoutToUse, selectedFeature, allElementsStorage).addCallbackAndRunD(title => { document.title = title }) }