* Optimize code of task #59468.

This commit is contained in:
liumengyi
2022-07-04 15:03:49 +08:00
parent 89f5ead39c
commit 247458ba1e
+1 -9
View File
@@ -14,15 +14,7 @@ $(function()
{
if(task.consumed != 0 && $('#currentConsumed').val() == 0)
{
var msg = consumedEmpty;
if(confirm(msg) == true)
{
return true;
}
else
{
return false;
}
return confirm(consumedEmpty);
}
})
})