Skip to content

Commit a97f1d0

Browse files
committed
Fixed bug in translation of parameters of references in all languages
1 parent 28f30f7 commit a97f1d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/templates/pages/reference/index.hbs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,11 @@ slug: reference/
110110
var entry = translations[obj][name];
111111
$('.description-text').html('<p>'+entry.description+'</p>');
112112
$('.returns').html(entry.returns);
113-
$('.params').find('tr').each(function(i) {
113+
$('.params').find('ul').each(function(i) {
114114
if (i < entry.params.length) {
115-
$(this).children('td').eq(1).html(entry.params[i])
115+
$(this).children().each(function(j){
116+
$(this).children().eq(1).children().eq(1).html(entry.params[i]);
117+
})
116118
}
117119
});
118120
}

0 commit comments

Comments
 (0)