From 665dd1de78785e6a9176c5533f5a29bbc33166d5 Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Wed, 16 Mar 2011 03:09:06 -0400 Subject: [PATCH] Remove supersizeme class as appropriate. --- plugins/ExtendedProfile/js/profiledetail.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/ExtendedProfile/js/profiledetail.js b/plugins/ExtendedProfile/js/profiledetail.js index 7960cee83f..24191d4ad9 100644 --- a/plugins/ExtendedProfile/js/profiledetail.js +++ b/plugins/ExtendedProfile/js/profiledetail.js @@ -55,9 +55,8 @@ SN_EXTENDED.addRow = function() { var cls = div.attr('class'); var index = id.match(/\d+/); var newIndex = parseInt(index) + 1; - var newtr = $(div).closest('tr').clone(); + var newtr = $(div).closest('tr').removeClass('supersizeme').clone(); SN_EXTENDED.replaceIndex(newtr, index, newIndex); - $(newtr).removeClass('supersizeme'); SN_EXTENDED.resetRow(newtr); $(div).closest('tr').after(newtr); SN_EXTENDED.reorder(cls); -- 2.39.5