From e734fc77a94c61bebfc018d3ff192797c2d481a0 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 21 Feb 2013 14:23:28 -0500 Subject: [PATCH] disable addthis address tracking --- app/assets/javascripts/posts.js | 1 - app/assets/javascripts/sources.js | 2 -- app/views/posts/partials/show/_share.html.erb | 3 ++- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/posts.js b/app/assets/javascripts/posts.js index 897d98905..03fa1104d 100644 --- a/app/assets/javascripts/posts.js +++ b/app/assets/javascripts/posts.js @@ -112,7 +112,6 @@ $img.data("scale_factor", ratio); $img.css("width", $img.width() * ratio); $img.css("height", $img.height() * ratio); - console.log("ratio=%f", ratio); } } else { $img.data("scale_factor", 1); diff --git a/app/assets/javascripts/sources.js b/app/assets/javascripts/sources.js index 199b40a6f..83eb0e40a 100644 --- a/app/assets/javascripts/sources.js +++ b/app/assets/javascripts/sources.js @@ -5,9 +5,7 @@ $.get("/sources.json", { url: url }).success(function(data) { - console.log(data); }).error(function(data) { - console.log(data); }); } })(); diff --git a/app/views/posts/partials/show/_share.html.erb b/app/views/posts/partials/show/_share.html.erb index 280c8ae95..53afa9930 100644 --- a/app/views/posts/partials/show/_share.html.erb +++ b/app/views/posts/partials/show/_share.html.erb @@ -8,13 +8,14 @@ +