Skip to content
Snippets Groups Projects
Commit bdde4cec authored by Maggie's avatar Maggie
Browse files

CRM-14088:Fixed selector to show lines to add more softcredits in new contribution screen

parent 84b246d4
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ cj(function($) {
}
$('#addMoreSoftCredit').click(function(){
$('.crm-soft-credit-block tr.hiddenElement :first').show().removeClass('hiddenElement');
$('.crm-contribution-form-block-soft_credit_to tr.hiddenElement').filter(':first').show().removeClass('hiddenElement');
if ( $('.crm-soft-credit-block tr.hiddenElement').length < 1 ) {
$('#addMoreSoftCredit').hide();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment