summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-02-05 13:53:22 -0600
committerluxagraf <sng@luxagraf.net>2018-02-05 13:53:22 -0600
commitae7bf08e6c7b5dc9c8f03042f427469eb7dbc216 (patch)
treeecbba5db0ebbca10c060348342015d817ef695f1
parent00de6955113932fb1c4a4ae1582a3500bec6f3a3 (diff)
eliminated console logging from JS
-rw-r--r--app/photos/static/image-preview.js2
-rw-r--r--app/utils/static/next-prev-links.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/photos/static/image-preview.js b/app/photos/static/image-preview.js
index 277def3..b46dbd8 100644
--- a/app/photos/static/image-preview.js
+++ b/app/photos/static/image-preview.js
@@ -15,7 +15,7 @@ function build_image_preview () {
request.onload = function() {
if (request.status >= 200 && request.status < 400) {
var data = JSON.parse(request.responseText);
- console.log(data);
+ //console.log(data);
img.src = data['url'];
} else {
console.log("server error");
diff --git a/app/utils/static/next-prev-links.js b/app/utils/static/next-prev-links.js
index 82a1dd8..dddc879 100644
--- a/app/utils/static/next-prev-links.js
+++ b/app/utils/static/next-prev-links.js
@@ -11,7 +11,7 @@ function build_next_prev() {
document.getElementsByTagName('head')[0].appendChild(style);
json_url = '/admin/data/'+app+'/'+model+'/'+cur+'/';
- console.log(json_url);
+ //console.log(json_url);
var container = document.createElement("ul");
var next_li = document.createElement("li");