Skip to content

Commit 822ef43

Browse files
authored
Merge pull request #1413 from appsembler/main
Update from `main` (production)
2 parents 2aa1ec0 + 1a89bd3 commit 822ef43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lms/static/js/student_account/views/FinishAuthView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@
7676

7777
render: function() {
7878
try {
79-
var next = _.bind(this.enrollment, this);
80-
this.checkEmailOptIn(next);
8179
if (this.hideElements) {
8280
document.cookie = 'hideElements=' + this.hideElements + '; path=/';
8381
}
82+
var next = _.bind(this.enrollment, this);
83+
this.checkEmailOptIn(next);
8484
} catch (err) {
8585
this.updateTaskDescription(gettext('Error') + ': ' + err.message);
8686
this.redirect(this.nextUrl);

0 commit comments

Comments
 (0)