From: Samantha Doherty Date: Wed, 16 Mar 2011 07:09:06 +0000 (-0400) Subject: Remove supersizeme class as appropriate. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=665dd1de78785e6a9176c5533f5a29bbc33166d5;p=quix0rs-gnu-social.git Remove supersizeme class as appropriate. --- 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);