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 40fdf47 commit fcbcebaCopy full SHA for fcbceba
Doc/tools/static/switchers.js
@@ -48,6 +48,12 @@
48
else
49
buf.push('<option value="' + language + '">' + title + '</option>');
50
});
51
+ if (!(current_language in all_languages)) {
52
+ // In case we're browsing a language that is not yet in all_languages.
53
+ buf.push('<option value="' + current_language + '" selected="selected">' +
54
+ current_language + '</option>');
55
+ all_languages[current_language] = current_language;
56
+ }
57
buf.push('</select>');
58
return buf.join('');
59
}
0 commit comments