We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7258a commit df6374eCopy full SHA for df6374e
Doc/tools/static/switchers.js
@@ -49,6 +49,12 @@
49
else
50
buf.push('<option value="' + language + '">' + title + '</option>');
51
});
52
+ if (!(current_language in all_languages)) {
53
+ // In case we're browsing a language that is not yet in all_languages.
54
+ buf.push('<option value="' + current_language + '" selected="selected">' +
55
+ current_language + '</option>');
56
+ all_languages[current_language] = current_language;
57
+ }
58
buf.push('</select>');
59
return buf.join('');
60
}
0 commit comments