1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets/javascripts/outfits/index.js
Emi Matchu 95ff69ee9a Run Prettier on some of our JS assets
The motivation is that I'm about to change one of them to remove a
reference to an old placeholder library, so I want that change to be
clear!
2024-02-18 20:34:55 -08:00

3 lines
135 B
JavaScript

$("form.button_to input[type=submit]").click(function (e) {
if (!confirm(this.getAttribute("data-confirm"))) e.preventDefault();
});