Skip to content

Commit

Permalink
Fix: Normalizing template icons (fixes: #21)
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-replin authored Feb 20, 2023
1 parent 3f7eff6 commit 982ccdf
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 @@ -48,7 +48,7 @@ class HomeButton extends Backbone.Controller {
this.$html.toggleClass('hide-nav-back-btn', Boolean(currentModelConfig?._hideBackButton));
const altText = (currentModelConfig?.alt || courseConfig?.alt || '');
const $backButton = $('button[data-event="backButton"]');
const $icon = $('<div>', { class: 'icon' });
const $icon = $('<div>', { class: 'icon', 'aria-hidden': true });
const $homeButton = $('<button>', {
attr: {
'data-event': currentModelConfig?._redirectToId ? 'redirectedHomeButton' : 'homeButton'
Expand Down

0 comments on commit 982ccdf

Please sign in to comment.