Merge pull request #17506 from atm-gauthier/FIX_column_adding_management_in_dom_added_with_ajax_case

FIX : if dom is added with ajax, selector needs to keep working
This commit is contained in:
Laurent Destailleur 2021-05-06 16:24:26 +02:00 committed by GitHub
commit 864c2a0bf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ if (!defined('JS_JQUERY_DISABLE_DROPDOWN')) {
var lastopendropdown = null;
// Click onto the link "link to" or "hamburger", toggle dropdown
$(".dropdown dt a").on(\'click\', function () {
$(document).on(\'click\', \'.dropdown dt a\', function () {
console.log("toggle dropdown dt a");
//$(this).parent().parent().find(\'dd ul\').slideToggle(\'fast\');