Could you help me with the Hamburger no longer works on the first click when closing the bootstrap 4 modal
When closing the modal from any of the 3 forms (close button inside the modal, click outside the modal or press the burger button) the burger button does not change the X but only the first time and then works correctly. that's what i want to fix.
Here the code
https://codepen.io/Angeloriel/pen/YoPXmK
Thank you!
That's it, nobody could help me in this case, but all I did was add
isOpened = true;
and change else to if, leaving it like this.