summaryrefslogtreecommitdiff
path: root/web/scripts/growth.js
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-09-01 17:37:06 -0700
committerJesse Morgan <jesse@jesterpm.net>2013-09-01 17:37:06 -0700
commit9e267f46c5dd69821462805ec233f707c27aacc9 (patch)
tree8ab4ae9a3394776a0cdda4ca20eb8b59df35374b /web/scripts/growth.js
parent5e3dc2047ed9b0b59989bba9f0d86a28aa25613b (diff)
Adding video completion tracking to frontend
Diffstat (limited to 'web/scripts/growth.js')
-rw-r--r--web/scripts/growth.js2
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) {