Skip to content

Commit a82ac7a

Browse files
authored
Fix: Replace deprecated drawer.triggerCustomView with drawer.openCustomView (fixes #222)
1 parent d6db24b commit a82ac7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* A sentence describing each fix
99

1010
### Update
11-
* A sentence describing each udpate
11+
* A sentence describing each update
1212

1313
### New
1414
* A sentence describing each new feature

js/PageLevelProgressNavigationView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default class PageLevelProgressNavigationView extends NavigationButtonVie
9191
onProgressClicked(event) {
9292
if (event && event.preventDefault) event.preventDefault();
9393
this.$el.attr('aria-expanded', true);
94-
drawer.triggerCustomView(new PageLevelProgressView({
94+
drawer.openCustomView(new PageLevelProgressView({
9595
collection: this.collection
9696
}).$el, false, this.model.get('_drawerPosition'));
9797
}

0 commit comments

Comments
 (0)