Skip to content

Commit

Permalink
Fix language selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Vincent committed Oct 28, 2016
1 parent a83bb2e commit 9ab8135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $.each(i18n.fullLocaleList, (i, v) => {
});

// Try to figure out user's language
$('#locales-list').val(app.getLocale() ? app.getLocale() : 'en');
$('#locales-list').val(app.getLocale() ? app.getLocale().split('-')[0] : 'en');

/* Go button action */
$('#go').click(() => {
Expand Down

0 comments on commit 9ab8135

Please sign in to comment.