mmenu js API – menu not showing

I want to use the mmenu js API but I’m having some difficulties. I was able to put a basic example up and running and all was fine. Next, I tried to add a searchfield but the searchfield wasn’t …

Why doesn’t this code display the button after I hide it?

When I run this JavaScript code, button2 doesn’t get displayed again. I’m not sure why this is happening. I am trying to use this in a game I am creating. I searched this up on Google multiple times …