diff --git a/application/asset/js/admin.js b/application/asset/js/admin.js index b64ea37dd8..ca98f17f1c 100644 --- a/application/asset/js/admin.js +++ b/application/asset/js/admin.js @@ -271,8 +271,8 @@ var Omeka = { var row = $(this).closest('.resource-row'); var resourceId = row.find('.resource-id').val(); selector.find('[data-resource-id="' + resourceId + '"]').removeClass('added'); - updateSiteCount(resourceId); row.remove(); + updateSiteCount(resourceId); if ($('.resource-row').length < 1) { table.addClass('empty'); }