Skip to content

Commit

Permalink
fixes #10 wrong model for course config
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored May 17, 2022
1 parent d80fe20 commit ef5c752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/adapt-homeButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class HomeButton extends Backbone.Controller {
}

get courseConfig() {
return location._currentModel?.get('_homeButton');
return Adapt.course?.get('_homeButton');
}

onRouterEvent() {
Expand Down

0 comments on commit ef5c752

Please sign in to comment.