diff --git a/paragraphs.collapsible.js b/paragraphs.collapsible.js index a75cc56..8813d52 100644 --- a/paragraphs.collapsible.js +++ b/paragraphs.collapsible.js @@ -879,7 +879,7 @@ }); // JS Only edit link. - var $fake_buttons = $('> .form-actions', $new_items).find('.paragraphs-edit-link, .paragraphs-collapse-link'); + var $fake_buttons = $('> .form-actions, > .ajax-new-content > .form-actions', $new_items).find('.paragraphs-edit-link, .paragraphs-collapse-link'); if ($fake_buttons.length > 0) { $fake_buttons.click(function(event) { // Prevent the default click event.