mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 03:57:08 -04:00
Fix safari language selection.
This commit is contained in:
parent
dc2a74d251
commit
d763d6b20a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue