From dd5a0be56a05e55e71843e37d02581b9424bbc6c Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sun, 1 Sep 2013 17:37:06 -0700 Subject: Adding video completion tracking to frontend --- web/scripts/growth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/scripts') 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) { -- cgit v1.2.3