Correction JS > On supprime le JS

This commit is contained in:
Anthony Dumas 2020-10-04 00:55:21 +02:00
parent 063e6f27bd
commit e6eb8c1530
2 changed files with 1 additions and 36 deletions

View File

@ -1,18 +0,0 @@
var $btnMail = $("#btn-mail");
$btnMail.removeAttr("disabled");
$btnMail.click(function (evt) {
evt.preventDefault();
var bonsoir = new Bonsoir(bonsoirFR);
var salutation = bonsoir.salutation();
Swal.fire({
title: 'Email',
html: salutation + "! Vous pouvez m'envoyer un mail à <strong><a href='mailto:anthony@dumas.cc'>anthony@dumas.cc</a></strong> !",
imageUrl: './images/mail.jpg',
imageWidth: 400,
imageHeight: 200,
imageAlt: 'Custom image',
animation: false
})
});

View File

@ -1,18 +1 @@
"use strict";
var $btnMail = $("#btn-mail");
$btnMail.removeAttr("disabled");
$btnMail.click(function (evt) {
evt.preventDefault();
var bonsoir = new Bonsoir(bonsoirFR);
var salutation = bonsoir.salutation();
Swal.fire({
title: 'Email',
html: salutation + "! Vous pouvez m'envoyer un mail à <strong><a href='mailto:anthony@dumas.cc'>anthony@dumas.cc</a></strong> !",
imageUrl: './images/mail.jpg',
imageWidth: 400,
imageHeight: 200,
imageAlt: 'Custom image',
animation: false
});
});