ghamry03 / ft_transcendence

0 stars 0 forks source link

added check conditions to tournament destroy function #58

Closed lde-alen closed 6 months ago

lde-alen commented 6 months ago

Fix: Fixed by adding if conditions in the destroy function of tournament in tournament.js file. The if conditions checks if the buttons are injected or not before removing the event listener.