Fix variable name

bzr revid: ddm@openerp.com-20130822200407-450rptud8peg4fp7
This commit is contained in:
ddm
2013-08-22 22:04:07 +02:00
parent 370fa231bf
commit fe45f507a2
+2 -2
View File
@@ -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);
}