From a246ba2451135d8dbd2d619402bf49d4d8225afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Mon, 8 May 2023 21:38:10 +0100 Subject: [PATCH] removed comments from pr 709 --- assets/js/process.js | 3 --- 1 file changed, 3 deletions(-) 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) } })