From d763d6b20a50e24c1a52f9385332b19e81c30328 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Wed, 10 Aug 2016 16:35:57 +0200 Subject: [PATCH] Fix safari language selection. --- src/_h5ai/public/js/lib/ext/l10n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_h5ai/public/js/lib/ext/l10n.js b/src/_h5ai/public/js/lib/ext/l10n.js index 4283821f..0d74dce8 100644 --- a/src/_h5ai/public/js/lib/ext/l10n.js +++ b/src/_h5ai/public/js/lib/ext/l10n.js @@ -57,7 +57,7 @@ const update = lang => { const sel = 'selected'; dom('#langs option').rmAttr(sel).rmProp(sel); - dom('#langs .' + currentLang.isoCode).attr(sel, sel).prop(sel, sel); + dom('#langs .' + currentLang.isoCode).attr(sel, '').prop(sel, true); each(currentLang, (value, key) => { dom('.l10n-' + key).text(value);