Skip to content

Commit 0e1df7d

Browse files
Create headings for sidebar pages
Signed-off-by: julia.kirschenheuter <[email protected]>
1 parent 05318b5 commit 0e1df7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ $(function(){
5959
var navigationLink = this.$navigation.find('a[data-navigation=' + filter + ']');
6060
navigationLink.parent().addClass('active').attr('aria-current', 'page');
6161
window.document.title = navigationLink.text().trim() + ' - ' + this.defaultPageTitle;
62-
62+
document.getElementById('pageHeadingLevel2').textContent = `${t('active', 'Subsection: ')} ${navigationLink.text().trim()}`;
6363
OCA.Activity.InfinitScrolling.prefill();
6464
}
6565
};

0 commit comments

Comments
 (0)