mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
Fix the no has gh function in be page
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
32a4bf5523
commit
a85ec6daa9
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const FORM_CHECKERS = {
|
||||||
console.log(edata);
|
console.log(edata);
|
||||||
|
|
||||||
function no_has_gh(str) {
|
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"]))
|
if (!/^[0-9a-zA-Z]+$/.test(data["gh-username"]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue