Let ChangeNavLang switch lang for p as well as a element.
Change-Id: I2e9e450c8d773765b61c6967a3f6529eb29b8dc2
This commit is contained in:
@@ -1326,7 +1326,7 @@ function requestAppendHL(uri) {
|
||||
function changeNavLang(lang) {
|
||||
if (lang === 'en') { return; }
|
||||
|
||||
var $links = $('a[' + lang + '-lang]');
|
||||
var $links = $("a[" + lang + "-lang],p[" + lang + "-lang]");
|
||||
$links.each(function(){ // for each link with a translation
|
||||
var $link = $(this);
|
||||
// put the desired language from the attribute as the text
|
||||
|
Reference in New Issue
Block a user