Skip to content

Commit

Permalink
Remove class and trigger off the correct element
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsafley committed May 10, 2024
1 parent ebaf3b3 commit 32aa98b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/asset/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ var Omeka = {
tableRowCell.text(tableRowValue);
});
selectorRow.addClass('added');
table.children('.resource-rows').append(tableRow).removeClass('empty').trigger('appendRow');
table.children('.resource-rows').append(tableRow);
table.removeClass('empty').trigger('appendRow');
updateResourceCount(id);
}

Expand Down

0 comments on commit 32aa98b

Please sign in to comment.