Interdire le clic sur le fond de boite

This commit is contained in:
Fred Tempez 2020-06-07 18:55:24 +02:00
parent ba991a79b3
commit 638f2a99d8
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ $( document).ready(function() {
$(this).find(".zwiico-plus").toggle();
$(this).find(".zwiico-minus").toggle();
$(this).find(".blockContainer").slideToggle();
}).on("click", "span > input, input, textarea, label, option, button, a", function(e) {
}).on("click", "span > input, input, textarea, label, option, button, a, .blockContainer", function(e) {
// Empêcher les déclenchements dans les blocs
e.stopPropagation();
});