Re: [jlreq] Make the language switching code more robust (#234)

It is indeed a good suggestion. I just refactored the code.

I used `console.log` instead of `console.error`, because sometimes missing headers may not be considered errors (like `previousversion`).

-- 
GitHub Notification of comment by xfq
Please view or discuss this issue at https://github.com/w3c/jlreq/pull/234#issuecomment-674496236 using your GitHub account


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

Received on Sunday, 16 August 2020 08:12:44 UTC