Skip to content

Instantly share code, notes, and snippets.

@somoza
Created December 16, 2021 21:01
Show Gist options
  • Save somoza/95f04277b5b6b89d1f4bcefdc0e200bc to your computer and use it in GitHub Desktop.
Save somoza/95f04277b5b6b89d1f4bcefdc0e200bc to your computer and use it in GitHub Desktop.
Prevent double clicking on a link
$('#deleteUrl').one("click", function () {
$(this).click(function () {
return false;
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment