JSFiddle - React, Tailwind, and code Playground

by Gothdo

HTML

<button>Click Me!</button>

JavaScript

$("button").click(function() {$(this).prop("disabled", true)})

$(document).on("mousedown", "button", event=> $(document).one("mouseup", event=> $(event.target).is("button") ? console.log("jQuery") : null))