Remove jQuery validation from registrar area

Since it doesn't support "accept" attribute with comma-separated
extensions

#432
This commit is contained in:
Artur Beljajev 2017-04-03 18:16:56 +03:00
parent 8216cfaf87
commit 91bc1ab23d

View file

@ -1,8 +1,4 @@
$(document).on 'page:change', ->
# client side validate all forms
$('form').each ->
$(this).validate()
$('.js-contact-form').on 'restoreDefault', (e) ->
form = $(e.target)
form.find('.js-ident-tip').hide()