From c2f7a04fd77256890acd5c2555ff8e3bfc8603ad Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Fri, 17 May 2024 14:15:10 -0600 Subject: [PATCH 1/2] Replace deprecated drawer.triggerCustomView with drawer.openCustomView --- js/tocNavigationView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tocNavigationView.js b/js/tocNavigationView.js index 9fafc9d..84505ec 100644 --- a/js/tocNavigationView.js +++ b/js/tocNavigationView.js @@ -51,7 +51,7 @@ define([ var cfg = Adapt.course.get('_toc') || {} var position = cfg._drawerPosition || 'auto' // here is where you might customise what toc renders if so desired - Adapt.drawer.triggerCustomView(new TocView({cfg}).$el, false, position); + Adapt.drawer.openCustomView(new TocView({cfg}).$el, false, position); } }); From 65099ab42596d7098710d60ae3f073559b5aea4a Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Fri, 17 May 2024 14:29:09 -0600 Subject: [PATCH 2/2] Fix type in PR template --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 750a692..f641119 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -8,7 +8,7 @@ * A sentence describing each fix ### Update -* A sentence describing each udpate +* A sentence describing each update ### New * A sentence describing each new feature