Skip to content
Snippets Groups Projects
Commit 1de1b3c2 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] website: mobile preview should keep the current search; some pages...

[FIX] website: mobile preview should keep the current search; some pages depends strongly of the url parameters, notably the email designer page.
parent 0ce1ecd6
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@
if (!window.location.origin) { // fix for ie9
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
}
document.getElementById("mobile-viewport").src = window.location.origin + window.location.pathname + "#mobile-preview";
document.getElementById("mobile-viewport").src = window.location.origin + window.location.pathname + window.location.search + "#mobile-preview";
this.$el.modal();
},
destroy: function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment