From: M. Taylor Saotome-Westlake Date: Mon, 13 Apr 2020 05:31:57 +0000 (-0700) Subject: don't `console.log` in production!! X-Git-Url: http://232903.hjopswx29.asia/source?a=commitdiff_plain;h=ee72c61c905c67061faa94f3784b3d02402000ca;p=Ultimately_Untrue_Thought.git don't `console.log` in production!! --- 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');