Re: [jlreq] Language switching doesn't work for the spec metadata (#260)

Thank you for confirming that `setFrontMatterIds()` fixes the issue.
And interesting for /TR version.. One possibility, we have `defer` on script loading, and using `body onload` for execution. So missorder of execution could happen which results to undefined error of functions set to onload,,,??

Anyway, I think all could be fixed with moving `setFrontMatterIds` into postprocess of respec (and having `initialiseLang` at both onload and postprocess?), since it will build processed HTML tree (with appropriate id-s to dt-s) - adding id-s after HTML tree built by respec for ED and statically for /TR.

-- 
GitHub Notification of comment by himorin
Please view or discuss this issue at https://github.com/w3c/jlreq/issues/260#issuecomment-814630299 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 7 April 2021 06:08:31 UTC