You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. newElem.find('[id]').each(function(index) {
$(this).attr('id', $(this).attr('id') + newNum);
});
=> could be replaced with
newElem.find('[id]').attr(....)
2. $(newElem.find('.clonable-remove-button:first')).click(...)
=> double $(), newElem.find().click(...) is enough
3. $('.s3index-error-msg').each(function(index) {
$(this).remove();
});
and similar code could be replaced with:
$('.s3index-error-msg').remove()
Original issue reported on code.google.com by
[email protected]
on 29 Nov 2012 at 5:42The text was updated successfully, but these errors were encountered: