Skip to content

Commit

Permalink
Update portal-header-2lvl-nojquery.js
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoalmeida committed Jun 2, 2021
1 parent a13805c commit 8de75b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/portal-header-2lvl-nojquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ document.querySelector('.main-menu__container .menu-burger').addEventListener('c
_elem.style.height = '0px';

_elem.animate({
height: elemHeight
height: elemHeight+'px'
}, 250, function animateHeightAuto() {
// AFTER THE FUNCTION CHANGE HEIGHT SO IT DOESN'T FORCE THE HEIGHT
_elem.style.height = 'calc(100% - 62px)';
Expand Down

0 comments on commit 8de75b9

Please sign in to comment.