gadjo.js: fix use of .prop() to midify form action (#8180)
This commit is contained in:
parent
7a3dcd8ccb
commit
924acb54b5
|
@ -113,8 +113,8 @@
|
|||
});
|
||||
|
||||
/* if the form doesn't have an @action attribute, set it to URL */
|
||||
if (! $form.prop('action')) {
|
||||
$form.prop('action', url);
|
||||
if (! $form.attr('action')) {
|
||||
$form.attr('action', url);
|
||||
}
|
||||
|
||||
/* hide buttons from content and convert buttons (<button> and <a>)
|
||||
|
|
Loading…
Reference in New Issue