forked from GNUsocial/gnu-social
Remove supersizeme class as appropriate.
This commit is contained in:
parent
d51625ab3d
commit
665dd1de78
@ -55,9 +55,8 @@ SN_EXTENDED.addRow = function() {
|
|||||||
var cls = div.attr('class');
|
var cls = div.attr('class');
|
||||||
var index = id.match(/\d+/);
|
var index = id.match(/\d+/);
|
||||||
var newIndex = parseInt(index) + 1;
|
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);
|
SN_EXTENDED.replaceIndex(newtr, index, newIndex);
|
||||||
$(newtr).removeClass('supersizeme');
|
|
||||||
SN_EXTENDED.resetRow(newtr);
|
SN_EXTENDED.resetRow(newtr);
|
||||||
$(div).closest('tr').after(newtr);
|
$(div).closest('tr').after(newtr);
|
||||||
SN_EXTENDED.reorder(cls);
|
SN_EXTENDED.reorder(cls);
|
||||||
|
Loading…
Reference in New Issue
Block a user