Merge pull request #4 from glushkov89/patch-1
Corrected #convertForm 'on submit' event handler
This commit is contained in:
commit
14cd901870
@ -58,7 +58,7 @@
|
|||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#convertForm').submit(function() {
|
$('#convertForm').submit(function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/api/convert',
|
url: '/api/convert',
|
||||||
|
Loading…
Reference in New Issue
Block a user