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

condition to prevent re-execution on same click #2

Merged
merged 2 commits into from
Nov 27, 2018
Merged

condition to prevent re-execution on same click #2

merged 2 commits into from
Nov 27, 2018

Conversation

J4bbi
Copy link

@J4bbi J4bbi commented Nov 25, 2018

when adding a simple console.log to this function it would get executed 2x, using chrome
this condition prevents re-execution

@NeoFusion NeoFusion self-assigned this Nov 26, 2018
@NeoFusion
Copy link
Owner

You have invalid author email. Fix it and use strict comparison.

@NeoFusion NeoFusion self-requested a review November 26, 2018 17:24
@J4bbi
Copy link
Author

J4bbi commented Nov 27, 2018

@NeoFusion , sorry about that. A bit hastily done.

Thanks for a great plugin.

@NeoFusion NeoFusion changed the base branch from v1 to v1-dev November 27, 2018 16:18
@NeoFusion NeoFusion merged commit 0938070 into NeoFusion:v1-dev Nov 27, 2018
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