Krenbot / body-of-cards

A playing card based random exercise generator
https://krenbot.github.io/body-of-cards/
4 stars 1 forks source link

Disable Swap Button on Timer Start #58

Closed pbp66 closed 2 years ago

pbp66 commented 2 years ago

Once the timer has started, the swap button needs to be disabled.

pbp66 commented 2 years ago

Steve re-implemented the event listener to remove the event listener on click.

pbp66 commented 2 years ago

Re-implemented the swap method in the Container object, borrowing Steve's code and further formatting it to match class notation