Skip to content

Commit 9e3b1ed

Browse files
committed
Merge pull request victorjonsson#24 from thekindofme/patch-1
validateDomain: add asia to the list of valid domains
2 parents 914bf65 + fb04865 commit 9e3b1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.formvalidator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ jQueryFormUtils.validateDomain = function(val) {
712712
'.sm', '.sn', '.so', '.sr', '.st', '.sv', '.sy', '.sz', '.tc', '.td', '.tf', '.tg',
713713
'.th', '.tj', '.tk', '.tm', '.tn', '.to', '.tp', '.tr', '.tt', '.tv', '.tw', '.tz',
714714
'.ua', '.ug', '.uk', '.um', '.us', '.uy', '.uz', '.va', '.vc', '.ve', '.vg', '.vi',
715-
'.vn', '.vu', '.ws', '.wf', '.ye', '.yt', '.za', '.zm', '.zw', '.mobi', '.xxx');
715+
'.vn', '.vu', '.ws', '.wf', '.ye', '.yt', '.za', '.zm', '.zw', '.mobi', '.xxx', '.asia');
716716

717717
var dot = val.lastIndexOf('.');
718718
var domain = val.substring(0, dot);

0 commit comments

Comments
 (0)