Explorar o código

new check_configure_kerio_buisness_mail.tpl

andre hai 6 meses
pai
achega
bd3bbecdf8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      check_configure_kerio_buisness_mail.tpl

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

@@ -5,7 +5,7 @@
 
 <script>
 function is_domain(str) {
-  const regexp = /^(?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.[a-z]{2,63}$/;
+  const regexp = "/^(?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.[a-z]{2,63}$/";
   return regexp.test(str);
 }
     function checkInput (domain, pid) {