diff --git a/assets/js/process.js b/assets/js/process.js index 8d9e87a6..a267914a 100644 --- a/assets/js/process.js +++ b/assets/js/process.js @@ -3,7 +3,6 @@ if (typeof auth !== 'undefined') { var likesCollection = db.collection('likes'); function numberWithCommas(x) { - //return x.toString().replace(/\B(? { var data = doc.data(); if (data) { - //var label = node.innerText.split(' ')[1] node.innerText = numberWithCommas(data.views) } }) @@ -21,7 +19,6 @@ if (typeof auth !== 'undefined') { likesCollection.doc(id).onSnapshot(doc => { var data = doc.data(); if (data) { - //var label = node.innerText.split(' ')[1] node.innerText = numberWithCommas(data.likes) } })