update function call from attr to prop
This commit is contained in:
parent
587415c5db
commit
b9c4edeb48
@ -18,7 +18,7 @@ $('form.form-post').submit(function(event) {
|
||||
|
||||
var $form = $(this);
|
||||
var data = $form.serialize();
|
||||
var url = $(this).attr('action');
|
||||
var url = $(this).prop('action');
|
||||
var rel_success = $(this).data('rel-success');
|
||||
|
||||
$.ajax({
|
||||
|
Loading…
Reference in New Issue
Block a user