* [bug#55105,done,0.2h] The selector is incorrect.

This commit is contained in:
hufangzhou
2024-09-10 15:53:19 +08:00
committed by 王于听
parent bc6ae2db00
commit 95ffb92606
+1 -1
View File
@@ -72,8 +72,8 @@ window.addItem = function(obj)
*/
window.deleteItem = function(obj)
{
if($('#teamForm .table tbody tr').length < 3) $('#teamForm .table tbody tr .actions-list .btn-link').eq(3).addClass('hidden');
$(obj).closest('tr').remove();
if($('#teamForm .table tbody tr').length < 2) $('#teamForm .table tbody tr .actions-list .btn-link').eq(1).addClass('hidden');
}
/**