Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mutalyzer
mutalyzer2
Commits
4c1baaef
Commit
4c1baaef
authored
Nov 03, 2015
by
Vermaat
Browse files
Customize mailcheck configuration
parent
2c74bde1
Changes
1
Hide whitespace changes
Inline
Side-by-side
mutalyzer/website/templates/static/js/interface.js
View file @
4c1baaef
...
...
@@ -52,6 +52,11 @@ $(document).ready(function() {
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.
var
clearSuggestion
=
function
(
element
)
{
$
(
element
).
siblings
(
'
.suggestion
'
).
remove
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment