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

Stop click listener being added multiple times on providers. #199

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

chrisgan
Copy link
Collaborator

Related tickets & documents

PAYTRAIL-28 #151

Description

Adds a check into the JS that adds the click listener on the providers selection. Ensures that even if initiPaytrail() is called multiple times, the listener is only added once which stops the click functionality being broken.

@kotivuori kotivuori merged commit de8c9c1 into paytrail:master Feb 5, 2025
1 check passed
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.

2 participants