Story#113524121 - we have new rails, so we should use data-legal-document

This commit is contained in:
Vladimir Krylov 2016-03-07 12:23:19 +02:00
parent 907da3d08e
commit c772ef00d6
6 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ $(document).on 'page:change', ->
$('.js-contact-form').trigger('restoreDefault')
$('[data-legal_document]').each (e)->
$('[data-legal-document]').each (e)->
fileInput = $(e.target)
minSize = 1 * 1024 # 100kB
maxSize = 8 * 1024 * 1024; # 8 MB