* Adjust whitelist setting logic.

This commit is contained in:
leiyong
2020-10-28 09:14:38 +08:00
parent 80307f2457
commit 0909592ea1
16 changed files with 92 additions and 51 deletions
+5
View File
@@ -4,6 +4,11 @@ function setProgramType(type)
location.href = location.href;
}
function setWhite(acl)
{
acl != 'open' ? $('#whitelistBox').removeClass('hidden') : $('#whitelistBox').addClass('hidden');
}
/**
* Convert a date string like 2011-11-11 to date object in js.
*