Skip to content

Conversation

@Kravimir
Copy link

I wanted to make sure you saw my changes in case you'd like to add them to your code.

Added a support check so event handlers are only added to fields in browsers that don't support one of the 3 pseudo-classes.

Changed which events get listeners for better cross-browser and cross-platform support.

Specified the two element types that can have the `placeholder` attribute.

Fix the `DOMContentLoaded` event listener, to actually pass it the function instead of the function's result.

Added a fix for old Webkit browsers.
Updating the readme to correspond with changes to the script.
Reformatting the code.
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