From 7538b619f329ca05f0698fca502bf3d433ae7552 Mon Sep 17 00:00:00 2001 From: sua yoo Date: Fri, 19 Nov 2021 17:32:20 -0800 Subject: [PATCH] update comment --- frontend/src/components/locale-picker.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/locale-picker.ts b/frontend/src/components/locale-picker.ts index 1a3cebf35f..14bbf452ac 100644 --- a/frontend/src/components/locale-picker.ts +++ b/frontend/src/components/locale-picker.ts @@ -26,7 +26,9 @@ export class LocalePicker extends LitElement { async firstUpdated() { let isFirstPolyfill = true; - // polyfill if needed + // Polyfill if needed + // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility + // TODO actually test if polyfill works in older browser const polyfill = async (locale: LocaleCode) => { if (!shouldPolyfill(locale)) { return;