diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-04 11:08:44 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-04 11:08:44 +0100 |
commit | 7b32513f3138bd95d4163f30e87fc444ab3897da (patch) | |
tree | d2b38838d65112a1d05db19cc1e74f8d8f5696d1 /chromium/ui/webui/resources/js/i18n_behavior.js | |
parent | 8d510183ca27142801b56bb50d63cbb2a92d4337 (diff) | |
parent | 2b94bfe47ccb6c08047959d1c26e392919550e86 (diff) | |
download | qtwebengine-chromium-7b32513f3138bd95d4163f30e87fc444ab3897da.tar.gz |
Merge remote-tracking branch 'origin/upstream-master' into 71-based
Change-Id: Id64d87edf3764b7b2a539f34018a458c8fcce302
Diffstat (limited to 'chromium/ui/webui/resources/js/i18n_behavior.js')
-rw-r--r-- | chromium/ui/webui/resources/js/i18n_behavior.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/ui/webui/resources/js/i18n_behavior.js b/chromium/ui/webui/resources/js/i18n_behavior.js index 646d6c513b2..2f8a129be33 100644 --- a/chromium/ui/webui/resources/js/i18n_behavior.js +++ b/chromium/ui/webui/resources/js/i18n_behavior.js @@ -114,8 +114,11 @@ var I18nBehavior = { /** * Call this when UI strings may have changed. This will send an update to * any data bindings to i18nDynamic(locale, ...). + * @suppress {checkTypes} */ i18nUpdateLocale: function() { + // Force reload. + this.locale = undefined; this.locale = loadTimeData.getString('language'); }, }; |