Fix bug in Metatagging
This commit is contained in:
parent
99225957cc
commit
774d9a6df0
1 changed files with 6 additions and 4 deletions
|
@ -100,10 +100,12 @@ export default class MetaTagging {
|
||||||
tags["_isOpen:description"] = comment;
|
tags["_isOpen:description"] = comment;
|
||||||
}
|
}
|
||||||
const nextChange = oh.getNextChange() as Date;
|
const nextChange = oh.getNextChange() as Date;
|
||||||
window.setTimeout(
|
if (nextChange !== undefined) {
|
||||||
updateTags,
|
window.setTimeout(
|
||||||
(nextChange.getTime() - (new Date()).getTime())
|
updateTags,
|
||||||
)
|
(nextChange.getTime() - (new Date()).getTime())
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
updateTags();
|
updateTags();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue