Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Oct 1, 2023
1 parent ffb8d68 commit 9b1e989
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions web/skins/classic/views/js/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ function onDeleteClick(evt) {
if (!document.getElementById('deleteConfirm')) {
// Load the delete confirmation modal into the DOM
$j.getJSON(thisUrl + '?request=modal&modal=delconfirm')
.done(function(data) {
insertModalHtml('deleteConfirm', data.html);
manageDelConfirmModalBtns();
$j('#deleteConfirm').modal('show');
})
.fail(function(jqXHR) {
console.log('error getting delconfirm', jqXHR);
logAjaxFail(jqXHR);
});
.done(function(data) {
insertModalHtml('deleteConfirm', data.html);
manageDelConfirmModalBtns();
$j('#deleteConfirm').modal('show');
})
.fail(function(jqXHR) {
console.log('error getting delconfirm', jqXHR);
logAjaxFail(jqXHR);
});
return;
} else {
$j('#deleteConfirm').modal('show');
Expand Down

0 comments on commit 9b1e989

Please sign in to comment.