diff options
Diffstat (limited to 'doc/src/template/scripts/functions.js')
-rwxr-xr-x | doc/src/template/scripts/functions.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/template/scripts/functions.js b/doc/src/template/scripts/functions.js index 47539d2def..62bc53508e 100755 --- a/doc/src/template/scripts/functions.js +++ b/doc/src/template/scripts/functions.js @@ -105,17 +105,17 @@ function processNokiaData(response){ /* start a new list element */ full_li_element = '<li'; /* if the pageType element reads APIPage, add class name api */ - if (propertyTags[j].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'APIPage') { + if (propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'APIPage') { full_li_element += ' class="api"'; apiCount++; } /* if the pageType element reads Article, add class name article */ - else if (propertyTags[j].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Article') { + else if (propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Article') { full_li_element += ' class="article"'; articleCount++; } /* if the pageType element reads Example, add class name example */ - else if (propertyTags[j].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Example') { + else if (propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Example') { full_li_element += ' class="example"'; exampleCount++; } |