Commit 4c1baaef authored by Vermaat's avatar Vermaat
Browse files

Customize mailcheck configuration

parent 2c74bde1
...@@ -52,6 +52,11 @@ $(document).ready(function() { ...@@ -52,6 +52,11 @@ $(document).ready(function() {
event.stopPropagation(); event.stopPropagation();
}); });
// Configure mailcheck.
//Mailcheck.defaultDomains.push('customdomain.com', 'anotherdomain.net');
//Mailcheck.defaultSecondLevelDomains.push('domain', 'yetanotherdomain');
Mailcheck.defaultTopLevelDomains.push('name', 'ac.uk', 'govt.nz', 'org.au');
// Remove mailcheck suggestion for form element. // Remove mailcheck suggestion for form element.
var clearSuggestion = function(element) { var clearSuggestion = function(element) {
$(element).siblings('.suggestion').remove(); $(element).siblings('.suggestion').remove();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment