Skip to content

Commit

Permalink
Merge pull request #74 from harvard-canvas-branding/feature/no_footer…
Browse files Browse the repository at this point in the history
…_on_course_settings

don't modify the footer on the course & account settings page
  • Loading branch information
cmurtaugh authored Jun 21, 2024
2 parents e6680bc + 04dd6da commit bce933b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions js/footer_copyright.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ $(document).ready(function (e) {
return;
}

if (window.location.href.match(/\/courses\/\d+\/settings.*/)) {
return;
}

if (window.location.href.match(/\/accounts\/\d+\/settings.*/)) {
return;
}

const copyYear = new Date().getFullYear();

const harvardCopy =
Expand Down

0 comments on commit bce933b

Please sign in to comment.