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 | dd5a0be56a05e55e71843e37d02581b9424bbc6c (patch) | |
tree | ef644ecd249134604939929e4cbe0b7dba1122b3 /web/scripts | |
parent | ba05f378d217316ebb3c92b69fdf48585be46825 (diff) |
Adding video completion tracking to frontend
Diffstat (limited to 'web/scripts')
-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) { |