Skip to content

Commit 7da5489

Browse files
Merge pull request #4719 from Countly/onboarding-redirect
[onboarding] [SER-745] Use hard redirection for newsletter page
2 parents dafdc97 + 28682fc commit 7da5489

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frontend/express/public/core/onboarding/javascripts/countly.views.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@
301301
}
302302

303303
// go home
304-
app.navigate('#/', true);
304+
window.location.href = '#/home';
305+
window.location.reload();
305306
},
306307
}
307308
});
@@ -409,7 +410,8 @@
409410

410411
app.route('/not-subscribed-newsletter', 'not-subscribed-newsletter', function() {
411412
if (!hasNewsLetter) {
412-
app.navigate("/", true);
413+
window.location.href = '#/home';
414+
window.location.reload();
413415
}
414416
else {
415417
this.renderWhenReady(new CV.views.BackboneWrapper({

0 commit comments

Comments
 (0)