[MERGE][FIX] Mobile preview of blogs

bzr revid: rim@openerp.com-20140414144407-cz3fmydj8vpzl7n6
This commit is contained in:
Richard Mathot (OpenERP)
2014-04-14 16:44:07 +02:00
@@ -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.length ? '/' : '') + window.location.pathname + "#mobile-preview";
document.getElementById("mobile-viewport").src = window.location.origin + window.location.pathname + "#mobile-preview";
this.$el.modal();
},
destroy: function () {