replaced sweet alert inline styles with CSS classes
This commit is contained in:
@@ -406,7 +406,7 @@ function deleteContribution(contributionId) {
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Beitrag löschen',
|
||||
cancelButtonText: 'Abbrechen',
|
||||
confirmButtonColor: '#c62828'
|
||||
customClass: { confirmButton: 'swal-btn-danger' },
|
||||
}).then(function (result) {
|
||||
if (!result.isConfirmed) return;
|
||||
|
||||
@@ -500,7 +500,7 @@ function deleteModComment(commentId) {
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Löschen',
|
||||
cancelButtonText: 'Abbrechen',
|
||||
confirmButtonColor: '#c62828'
|
||||
customClass: { confirmButton: 'swal-btn-danger' },
|
||||
}).then(function (result) {
|
||||
if (!result.isConfirmed) return;
|
||||
|
||||
@@ -637,7 +637,7 @@ function deleteNews(newsId) {
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Löschen',
|
||||
cancelButtonText: 'Abbrechen',
|
||||
confirmButtonColor: '#c62828'
|
||||
customClass: { confirmButton: 'swal-btn-danger' },
|
||||
}).then(function (result) {
|
||||
if (!result.isConfirmed) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user