Fix bug in Metatagging

This commit is contained in:
Pieter Vander Vennet 2020-10-19 13:05:36 +02:00
parent 99225957cc
commit 774d9a6df0

View file

@ -100,11 +100,13 @@ export default class MetaTagging {
tags["_isOpen:description"] = comment;
}
const nextChange = oh.getNextChange() as Date;
if (nextChange !== undefined) {
window.setTimeout(
updateTags,
(nextChange.getTime() - (new Date()).getTime())
)
}
}
updateTags();
}