BigW Consortium Gitlab

Commit d8fee09e by Phil Hughes

Fixed jQuery chaining

parent ecf7640b
......@@ -31,12 +31,10 @@
}
formSubmit() {
const $this = $(this);
$this.closest('form')
.trigger("submit.rails");
$this.disable();
$(this).closest('form')
.trigger("submit.rails")
.end()
.disable();
}
formSuccess() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment