X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-form.js;h=a30e7f4fc81f68c1aa3b25a9bebde8c04f099b90;hb=dee46c5bb42f8fdaa70e70d6bdd4da5072a99ecd;hp=aa5e9eff1428750ba2ec818136dd424f60f7cfd8;hpb=74b0b0abbf8f49d6444c7df9465d943fbad69704;p=gruntmaster-page.git diff --git a/js/90-form.js b/js/90-form.js index aa5e9ef..a30e7f4 100644 --- a/js/90-form.js +++ b/js/90-form.js @@ -1,5 +1,5 @@ $(function(){ - const result = $('#result')[0]; + const result = q('#result'); $('.jsform > input[type="submit"]').on('click', e => { const form_data = new FormData(this.parentElement); const form = this.parentNode;