Skip to content

Commit

Permalink
Fix: Replace deprecated drawer.triggerCustomView with drawer.openCust…
Browse files Browse the repository at this point in the history
…omView (fixes #115) #116
  • Loading branch information
swashbuck authored May 21, 2024
1 parent 0d9089d commit 2667b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Visua11yNavigationButtonView.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Visua11yNavigationButtonView extends NavigationButtonView {
if (event && event.preventDefault) event.preventDefault();
const config = Adapt.course.get('_visua11y');
if (config._location === 'drawer') {
drawer.triggerCustomView(new Visua11ySettingsView().$el, false, 'auto');
drawer.openCustomView(new Visua11ySettingsView().$el, false, 'auto');
} else {
Adapt.visua11y.settingsPrompt = notify.popup({
title: config.title,
Expand Down

0 comments on commit 2667b85

Please sign in to comment.