Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
document.addEventListener("click", (ev) => {
return handleDocumentEvent(ev, [
Rails.linkClickSelector,
Rails.buttonClickSelector,
Rails.formInputClickSelector
]);
});
document.addEventListener("change", (ev) => {