[Solved] Why my buttons are reacting slowly when I use “hidden”?

[ad_1]

You are not hiding your button on click, you are using setTimeout(granjero, 1000);

The if is only called every seconds, so it will only hide if the granjero called.

3

[ad_2]

solved Why my buttons are reacting slowly when I use “hidden”?