From f5f68c818953ddf43ffa7cb2e9aa391c3d4dfb47 Mon Sep 17 00:00:00 2001 From: Owen Imholte Date: Mon, 1 May 2017 01:15:53 -0700 Subject: [PATCH] This fixes the issue #136 for me To recap the issue, if the formset starts hidden then the remove links don't appear. I'm not sure what this might break, but seems to work so far for me... --- src/jquery.formset.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/jquery.formset.js b/src/jquery.formset.js index d910758..f0b98cb 100644 --- a/src/jquery.formset.js +++ b/src/jquery.formset.js @@ -135,10 +135,8 @@ } if (hasChildElements(row)) { row.addClass(options.formCssClass); - if (row.is(':visible')) { - insertDeleteLink(row); - applyExtraClasses(row, i); - } + insertDeleteLink(row); + applyExtraClasses(row, i); } });