summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcgi-bin/cookies.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgi-bin/cookies.cgi b/cgi-bin/cookies.cgi
index ec2ed4f..be12589 100755
--- a/cgi-bin/cookies.cgi
+++ b/cgi-bin/cookies.cgi
@@ -54,6 +54,7 @@ function getCookie(cname) {
if (counter === "") { counter = "0"; }
var uploaded_counter = uploaded_cookies["counter"] || "0";
document.write("<b>Cookie:</b> " + counter + "<br/><b>JSON:</b> " + uploaded_counter + "<br />");
+ console.error("Cookie: " + counter + " JSON: " + uploaded_counter);
counter = parseInt(counter);
counter = counter + 1;
counter = counter.toString();