Skip to content

Commit

Permalink
give the language selector an id - see #736 - thanks @frzquerty
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Jun 23, 2023
1 parent f1ee7b2 commit 2d540e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function language_selector()

$current_lang = check_language();

$selector = '<select name="lang" xml:lang="en" dir="ltr">';
$selector = '<select id="lang" name="lang" xml:lang="en" dir="ltr">';

foreach ($supported_languages as $lang => $lang_name) {
if ($lang == $current_lang) {
Expand Down

0 comments on commit 2d540e1

Please sign in to comment.