X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Froom.js;h=26d78e9bbf809579ef0919639eb2f62a15372dcc;hb=db5d6355c39327ba7f8052f360f1e846ba4ad01c;hp=38a3d2a410cc8b769f89f4f1e0a757f14d7db6fe;hpb=302c97f7ac81dfcc6fc8d8d44359f4f432e4618a;p=brisk.git diff --git a/web/room.js b/web/room.js index 38a3d2a..26d78e9 100644 --- a/web/room.js +++ b/web/room.js @@ -639,7 +639,7 @@ function mesgtoadm_formtext_hilite(form) function j_check_email(email, ret) { - if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,10})+$/.test(email)) + if (/^\w+([\.-]*\w+)*@\w+([\.-]*\w+)*(\.\w{2,10})+$/.test(email)) return (true); ret.ret += (g_lang == 'en' ? "Invalid email address. " : "Indirizzo e-mail non valido.");