Fix the no has gh function in be page

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-09-02 18:25:30 +03:00
parent 32a4bf5523
commit a85ec6daa9

View file

@ -8,7 +8,7 @@ const FORM_CHECKERS = {
console.log(edata);
function no_has_gh(str) {
return str.indexOf(data["gh-username"]) !== -1;
return str.indexOf(data["gh-username"]) === -1;
}
if (!/^[0-9a-zA-Z]+$/.test(data["gh-username"]))