Skip to content

Commit

Permalink
Fix: No component description by default (fixes #60)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Mar 20, 2024
1 parent 8c2c333 commit 4e13743
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/PageNavModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import data from 'core/js/data';
import ComponentModel from 'core/js/models/componentModel';

class PageNavModel extends ComponentModel {
defaults() {
return ComponentModel.resultExtend('defaults', {
_isA11yComponentDescriptionEnabled: false
});
}

init() {
this.listenTo(Adapt, 'router:location', this.setupItemsModel);

Expand Down

0 comments on commit 4e13743

Please sign in to comment.