diff options
Diffstat (limited to 'demos/dialog/modal-form.html')
-rw-r--r-- | demos/dialog/modal-form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/dialog/modal-form.html b/demos/dialog/modal-form.html index 84bf287af..98d8ba4be 100644 --- a/demos/dialog/modal-form.html +++ b/demos/dialog/modal-form.html @@ -21,7 +21,7 @@ <script src="../bootstrap.js" data-modules="effect"> var dialog, form, - // From http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state-%28type=email%29 + // From https://html.spec.whatwg.org/multipage/input.html#e-mail-state-%28type=email%29 emailRegex = /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, name = $( "#name" ), email = $( "#email" ), |