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 issue #33 - Avoid unused click handlers for images #34

Merged
merged 6 commits into from
Oct 10, 2021

Conversation

BePo65
Copy link
Contributor

@BePo65 BePo65 commented Oct 9, 2021

As a preparation / basis for a pr that solves issue #29 and improves pr #18 this pr avoids unused click handlers for the images (and harmonizes some code styles).

consistent (single) quotes
consistent indentation
consistent curly brackets
no dangling commas
Changed default value of onClickHandler setting to null and added click
handler to ProgressiveImage element only, if there is an onClickHandler.
This way no unused click handler is added to image.
@schlosser
Copy link
Owner

Thanks for the cleanup!

@schlosser schlosser merged commit 5d4578c into schlosser:master Oct 10, 2021
@BePo65 BePo65 deleted the pu/reduceClickHandlers branch October 11, 2021 04:36
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