[IMP]Remove class hide from mobile preview.
bzr revid: bth@tinyerp.com-20130829111041-4d4p8c0xci54lve4
This commit is contained in:
@@ -218,12 +218,12 @@
|
||||
start: function () {
|
||||
$('body').addClass('oe_stop_scrolling');
|
||||
$('body').addClass('oe_stop_scrolling');
|
||||
$("#mobile-preview").removeClass('hide');
|
||||
$("#mobile-preview").find('.oe_mobile_preview_header button').click(function() {
|
||||
$('body').removeClass('oe_stop_scrolling');
|
||||
});
|
||||
document.getElementById("mobile-viewport").src = window.location.href + "?mobile-preview=true";
|
||||
this.$el.modal();
|
||||
this.$el.removeClass('hide');
|
||||
},
|
||||
close: function () {
|
||||
$('body').removeClass('oe_stop_scrolling');
|
||||
|
||||
Reference in New Issue
Block a user