stoppropagation
This commit is contained in:
parent
383c0e157f
commit
8dc1d76fe6
2 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ jQuery(function () {
|
||||||
|
|
||||||
// lancement d'une modalbox
|
// lancement d'une modalbox
|
||||||
$('#app').on('click', '.modalbox', function (e) {
|
$('#app').on('click', '.modalbox', function (e) {
|
||||||
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
let confirmation = $(this).data('confirm');
|
let confirmation = $(this).data('confirm');
|
||||||
if (confirmation !== undefined) {
|
if (confirmation !== undefined) {
|
||||||
|
|
|
@ -50,6 +50,7 @@ jQuery(function () {
|
||||||
}); // lancement d'une modalbox
|
}); // lancement d'une modalbox
|
||||||
|
|
||||||
$('#app').on('click', '.modalbox', function (e) {
|
$('#app').on('click', '.modalbox', function (e) {
|
||||||
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var confirmation = $(this).data('confirm');
|
var confirmation = $(this).data('confirm');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue