Skip to content

Commit

Permalink
Merge pull request #1413 from appsembler/main
Browse files Browse the repository at this point in the history
Update from `main` (production)
  • Loading branch information
VladyslavTy authored Aug 22, 2024
2 parents 2aa1ec0 + 1a89bd3 commit 822ef43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lms/static/js/student_account/views/FinishAuthView.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@

render: function() {
try {
var next = _.bind(this.enrollment, this);
this.checkEmailOptIn(next);
if (this.hideElements) {
document.cookie = 'hideElements=' + this.hideElements + '; path=/';
}
var next = _.bind(this.enrollment, this);
this.checkEmailOptIn(next);
} catch (err) {
this.updateTaskDescription(gettext('Error') + ': ' + err.message);
this.redirect(this.nextUrl);
Expand Down

0 comments on commit 822ef43

Please sign in to comment.