demarches-normaliennes/app/assets/javascripts/old_design/admin.js
2020-05-12 18:18:37 +02:00

11 lines
288 B
JavaScript

/* globals $ */
$(document).on('click', '.delete', function () {
$(this).hide();
$(this).closest('td').find('.confirm').show();
});
$(document).on('click', '.cancel', function () {
$(this).closest('td').find('.delete').show();
$(this).closest('td').find('.confirm').hide();
});