]> git.agnieray.net Git - galette.git/commitdiff
Fix JS click event
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 15 Jan 2024 19:55:10 +0000 (20:55 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 15 Jan 2024 20:23:54 +0000 (21:23 +0100)
galette/templates/default/elements/edit_socials.html.twig

index 64ead03e1b33a32561c329c317c185531d876364..13c1d6d61be0297b0e48ffe33eb484ff767aade0 100644 (file)
@@ -60,7 +60,7 @@
                     _rmFilter();
                     _dropdown();
 
-                    $('.addsocial').click(function(e){
+                    $('a.addsocial').click(function(e) {
                         e.preventDefault();
 
                         var _newindex = $(this).parents('.addsocial').find('.combo-social:last select').attr('id').replace('social_new_type_', '');