From 1923a20f19a8e44aaf1e4aa9a9cfe0775fd46a3b Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Fri, 5 Jun 2015 14:51:46 +0200 Subject: [PATCH] Corrected forgotten response --- js/Logger.js | 2 +- posts/arrow-clicked/index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/Logger.js b/js/Logger.js index b3825ef..75835a0 100644 --- a/js/Logger.js +++ b/js/Logger.js @@ -13,7 +13,7 @@ BD.Private.sendData = function(url, data) { // xhr.onreadystatechange = function() { // if(xhr.readyState == 4 && xhr.status == 200) { - // console.log(xhr.responseText); + // console.log("Done : " + xhr.responseText); // } // } diff --git a/posts/arrow-clicked/index.js b/posts/arrow-clicked/index.js index cec1d8d..9358303 100644 --- a/posts/arrow-clicked/index.js +++ b/posts/arrow-clicked/index.js @@ -14,4 +14,5 @@ module.exports.index = function(req, res) { }); res.setHeader('Content-Type', 'text/html'); + res.send(""); }