Skip to content

Commit

Permalink
Merge pull request #1316 from danielghost/issue/1315
Browse files Browse the repository at this point in the history
  • Loading branch information
moloko authored Nov 15, 2016
2 parents 4a9ccd0 + 8ba156b commit 1f5c2a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/js/views/navigationView.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ define(function(require) {

hideNavigationButton: function(model) {
if (model.get('_type') === "course") {
$('.navigation-back-button').addClass('display-none');
$('.navigation-back-button, .navigation-home-button').addClass('display-none');
} else {
this.showNavigationButton();
}
},

showNavigationButton: function() {
$('.navigation-back-button').removeClass('display-none');
$('.navigation-back-button, .navigation-home-button').removeClass('display-none');
}

});
Expand Down

0 comments on commit 1f5c2a5

Please sign in to comment.