Make JS a bit simpler
[plack-app-gruntmaster.git] / js / 90-form.js
index aa5e9eff1428750ba2ec818136dd424f60f7cfd8..a30e7f4fc81f68c1aa3b25a9bebde8c04f099b90 100644 (file)
@@ -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;
This page took 0.00932 seconds and 4 git commands to generate.