From ee72c61c905c67061faa94f3784b3d02402000ca Mon Sep 17 00:00:00 2001 From: "M. Taylor Saotome-Westlake" Date: Sun, 12 Apr 2020 22:31:57 -0700 Subject: [PATCH] don't `console.log` in production!! --- theme/static/js/recent_comments.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/theme/static/js/recent_comments.js b/theme/static/js/recent_comments.js index 18ee006..2697756 100644 --- a/theme/static/js/recent_comments.js +++ b/theme/static/js/recent_comments.js @@ -1,7 +1,6 @@ function getRecentComments() { let container = document.querySelector("#recent-comments-container"); - console.log(container); let request = new XMLHttpRequest(); request.open('GET', 'http://unremediatedgender.space/isso/latest?limit=5', true); @@ -9,7 +8,6 @@ function getRecentComments() { request.onload = function() { if (this.status >= 200 && this.status < 400) { let comments = JSON.parse(this.response); - console.log(comments); for (let comment of comments.reverse()) { let p = document.createElement('p'); let a = document.createElement('a'); -- 2.17.1