]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove supersizeme class as appropriate.
authorSamantha Doherty <sammy@status.net>
Wed, 16 Mar 2011 07:09:06 +0000 (03:09 -0400)
committerSamantha Doherty <sammy@status.net>
Wed, 16 Mar 2011 07:09:06 +0000 (03:09 -0400)
plugins/ExtendedProfile/js/profiledetail.js

index 7960cee83fc2714db26aa6315def350b1e78b311..24191d4ad966914dfef7f8c033afcfeab6db6e86 100644 (file)
@@ -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);