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

fix click handler for dismiss button #134

Merged
merged 1 commit into from
Nov 12, 2023
Merged

fix click handler for dismiss button #134

merged 1 commit into from
Nov 12, 2023

Conversation

stklcode
Copy link
Contributor

Using an arrow function binds "this" to the outer scope instead of the target element. Pass the event parameter and access the event's target to fix the handler.

Fixes: 9aa9542

Using an arrow function binds "this" to the outer scope instead of the
target element. Pass the event parameter and access the event's target
to fix the handler.

Fixes: 9aa9542
@stklcode stklcode added the bug label Nov 12, 2023
@stklcode stklcode added this to the 1.5.0 milestone Nov 12, 2023
@stklcode stklcode self-assigned this Nov 12, 2023
@stklcode stklcode changed the title fix click handler for dismiss button (#134) fix click handler for dismiss button Nov 12, 2023
@stklcode stklcode marked this pull request as ready for review November 12, 2023 16:21
Copy link

sonarcloud bot commented Nov 12, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@stklcode stklcode merged commit 1ef1a24 into develop Nov 12, 2023
11 checks passed
@stklcode stklcode deleted the fix/dismiss-btn branch November 12, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant