Skip to content

Commit

Permalink
[FIX] web_responsive: Menu Height on Init
Browse files Browse the repository at this point in the history
* Add a call to the window resize method during init to fix OCA#773
  • Loading branch information
lasley authored and pierre-pizzetta committed Oct 17, 2020
1 parent 35a22bc commit d6b3e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web_responsive/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
1 change: 1 addition & 0 deletions web_responsive/static/src/js/web_responsive.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, ' +
Expand Down

0 comments on commit d6b3e8d

Please sign in to comment.