Thanks to visit codestin.com Credit goes to github.com
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 02e6bf7 commit 6b73bb5Copy full SHA for 6b73bb5
1 file changed
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