Remove method not working

I am making a minesweeper game. As you will click on any tile, it will show up two options, flag it or break it. Whichever you choose , after clicking on any one the options should vanish, but they aren’t. Help!
link to codepen

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.