1/**
2 * Add JavaScript confirmation to Delete buttons
3 */
4jQuery(function () {
5    jQuery('.twofactor_delconfirm').click(function (event) {
6        if (window.confirm(LANG.del_confirm)) return;
7        event.preventDefault();
8        event.stopPropagation();
9    });
10    jQuery('.twofactor_resetconfirm').click(function (event) {
11        if (window.confirm(LANG.plugins.twofactor.reset_confirm)) return;
12        event.preventDefault();
13        event.stopPropagation();
14    });
15});
16