diff --git a/source/Ox.UI/js/Code/DocPage.js b/source/Ox.UI/js/Code/DocPage.js index 9b74f486..eb7a066c 100644 --- a/source/Ox.UI/js/Code/DocPage.js +++ b/source/Ox.UI/js/Code/DocPage.js @@ -180,13 +180,17 @@ Ox.DocPage = function(options, self) { } }) ) - .append('' + ( - Ox.contains(section, 'inherited') - ? section[0].toUpperCase() + section.slice(1) - : Ox.toTitleCase( - section == 'returns' ? 'usage' : section + .append( + Ox.$('') + .addClass('OxSection') + .html( + Ox.contains(section, 'inherited') + ? section[0].toUpperCase() + section.slice(1) + : Ox.toTitleCase( + section == 'returns' ? 'usage' : section + ) ) - ) + '') + ) ); if (section == 'tests') { item.tests.forEach(function(test) {