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 ace8388 commit a91a5dbCopy full SHA for a91a5db
src/templates/pages/reference/index.hbs
@@ -109,12 +109,12 @@ slug: reference/
109
if (translations[obj] && translations[obj][name]) {
110
var entry = translations[obj][name];
111
$('.description-text').html('<p>'+entry.description+'</p>');
112
- $('.returns').html($('.returns').contents()[0].innerHTML + ": " + entry.returns);
+ $('.returns').html(entry.returns);
113
$('.params').find('ul').each(function(i) {
114
if (i < entry.params.length) {
115
- $(this).children().each(function(j){
116
- $(this).children().eq(1).children().eq(1).html(entry.params[i]);
117
- })
+ $(this).children('li').each(function(j){
+ $(this).children('.paramtype').html(entry.params[j]);
+ });
118
}
119
});
120
0 commit comments