Fix variable name
bzr revid: ddm@openerp.com-20130822200407-450rptud8peg4fp7
This commit is contained in:
@@ -676,9 +676,9 @@
|
||||
|
||||
dom_ready.then(function () {
|
||||
website.is_editable = $('html').attr('data-editable') === '1';
|
||||
var is_smartphone = $('body')[0].clientWidth >= 767;
|
||||
var is_smartphone = $('body')[0].clientWidth < 767;
|
||||
|
||||
if (website.is_editable && is_smartphone) {
|
||||
if (website.is_editable && !is_smartphone) {
|
||||
website.ready().then(website.init_editor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user