From 05f5f1275faea216ebf4f6ae37cf3778fd1f31ae Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Sat, 22 Oct 2016 18:39:23 -0400 Subject: [PATCH] Fixed last commit --- hourglass/client/profile/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hourglass/client/profile/profile.js b/hourglass/client/profile/profile.js index a1d7a30..36cc6e9 100644 --- a/hourglass/client/profile/profile.js +++ b/hourglass/client/profile/profile.js @@ -585,7 +585,7 @@ Template.profile.events({ name: item.childNodes[1].childNodes[0].nodeValue, teacher: item.childNodes[3].childNodes[0].nodeValue, hour: item.childNodes[5].childNodes[0].nodeValue, - subscribers: Math.floor(item.childNodes[7].childNodes[0].nodeValue.length.replace(",","") / 17), + subscribers: Math.floor(item.childNodes[7].childNodes[0].nodeValue.replace(",","").length / 17), _id: item.getAttribute("classid") }); }