Add BS modals when confirmation needed
This commit is contained in:
parent
e5b564539e
commit
59b1e32c29
7 changed files with 400 additions and 171 deletions
|
|
@ -1,11 +1,3 @@
|
|||
$(document).ready(function() {
|
||||
$(".areyousure").on("click", function(e) {
|
||||
if(!confirm("Êtes-vous sûr ?")) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
$(".toggle-dark-mode").on("click", function() {
|
||||
var currentState = $("html").attr("data-bs-theme");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue