Skip to content

Commit a5c6160

Browse files
Revert "chore: only send form event on success"
1 parent 84a1e3a commit a5c6160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

segment-tracker/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ $(document).ready(function () {
138138

139139

140140
// Add submit listener for all forms
141-
$("form").bind('ajax:complete', function () {
141+
$("form").on("submit", function () {
142142

143143
var properties = {
144144
// capture the URL where this event is fired

0 commit comments

Comments
 (0)