Эх сурвалжийг харах

new check_configure_kerio_buisness_mail.tpl

andre 6 сар өмнө
parent
commit
128d45ffb7

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

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