diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-09-01 17:37:06 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-09-01 17:37:06 -0700 |
commit | 9e267f46c5dd69821462805ec233f707c27aacc9 (patch) | |
tree | 8ab4ae9a3394776a0cdda4ca20eb8b59df35374b /web/scripts/growth.js | |
parent | 5e3dc2047ed9b0b59989bba9f0d86a28aa25613b (diff) |
Adding video completion tracking to frontend
Diffstat (limited to 'web/scripts/growth.js')
-rw-r--r-- | web/scripts/growth.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/scripts/growth.js b/web/scripts/growth.js index 9aae3aa..4bc7e5b 100644 --- a/web/scripts/growth.js +++ b/web/scripts/growth.js @@ -178,7 +178,7 @@ function reportVideoComplete(data) $.ajax({ type: "POST", - url: location.href + "/videos/" + videoId + ".json", + url: location.href + "/videos/" + data.id + ".json", dataType: "json", data: {'completed':'true'} }).error(function(jqXHR, error) { |