Browse Source

[FIX] web_responsive: Menu Height on Init

* Add a call to the window resize method during init to fix OCA#773
pull/1066/head
Dave Lasley 7 years ago
committed by Jairo Llopis
parent
commit
e94bcf5ca3
No known key found for this signature in database GPG Key ID: 59564BF1E22F314F
  1. 2
      web_responsive/__manifest__.py
  2. 1
      web_responsive/static/src/js/web_responsive.js

2
web_responsive/__manifest__.py

@ -6,7 +6,7 @@
"name": "Web Responsive",
"summary": "It provides a mobile compliant interface for Odoo Community "
"web",
"version": "11.0.1.0.0",
"version": "11.0.1.0.1",
"category": "Website",
"website": "https://laslabs.com/",
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",

1
web_responsive/static/src/js/web_responsive.js

@ -86,6 +86,7 @@ odoo.define('web_responsive', function(require) {
'-': this.LEFT
};
this.initDrawer();
this.handleWindowResize();
var $clickZones = $('.odoo_webclient_container, ' +
'a.oe_menu_leaf, ' +
'a.oe_menu_toggler, ' +

Loading…
Cancel
Save