Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A much shorter script #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

A much shorter script #1

wants to merge 2 commits into from

Conversation

Arnoques
Copy link

If anyone is interested, I refactored the code to avoid the many duplications I found. I tested:

  • both orientations
  • clicking on a date or on button
  • clicking very fast to try to go past the limits

I didn't test:

  • keyboard navigation
  • autoplay (it didn't work for me in the original file)

I don't have much experience with JS or jQuery, so any comment is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant