ssoroka/prevent_doubleclick.js
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
include the js file in your project. Now any link with a prevent_doubleclick class will behave! prevents double clicks on anything that is sensitive to race conditions; especially checkouts, etc. The link is re-enabled in 10 seconds in case the requests never completes, to allow the user to try again.
About
prevent double clicking of links with .prevent_doubleclick class, useful for links that are subject to race conditions on duplicate submit
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published