[FIX] CMS mobile preview hash consistency
bzr revid: ddm@openerp.com-20130920144606-xw88i9v6mrd9ia3a
This commit is contained in:
parent
8c085b3e6e
commit
3ed0628e4d
|
@ -17,7 +17,7 @@
|
||||||
'hidden.bs.modal': 'destroy'
|
'hidden.bs.modal': 'destroy'
|
||||||
},
|
},
|
||||||
start: function () {
|
start: function () {
|
||||||
document.getElementById("mobile-viewport").src = window.location.origin + window.location.pathname + "?mobile-preview=true";
|
document.getElementById("mobile-viewport").src = window.location.origin + window.location.pathname + "#mobile-preview";
|
||||||
this.$el.modal();
|
this.$el.modal();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue