Fix safari language selection.

This commit is contained in:
Lars Jung 2016-08-10 16:35:57 +02:00
parent dc2a74d251
commit d763d6b20a
1 changed files with 1 additions and 1 deletions

View File

@ -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);