summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");