* Finish task #41697.

This commit is contained in:
tianshujie
2021-08-26 16:36:53 +08:00
parent 539903b7a3
commit 96408952fa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ function addItem(obj)
function deleteItem(obj)
{
if($('.table').find('.addedItem').length <= 1) return;
if($('#teamForm .table tbody').children().length < 2) return false;
$(obj).closest('tr').remove();
}
+1 -1
View File
@@ -81,7 +81,7 @@ function addItem(obj)
*/
function deleteItem(obj)
{
if($('.table').find('.addedItem').length <= 1) return;
if($('#teamForm .table tbody').children().length < 2) return false;
$(obj).closest('tr').remove();
}