disable addthis address tracking
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -5,9 +5,7 @@
|
||||
$.get("/sources.json", {
|
||||
url: url
|
||||
}).success(function(data) {
|
||||
console.log(data);
|
||||
}).error(function(data) {
|
||||
console.log(data);
|
||||
});
|
||||
}
|
||||
})();
|
||||
|
||||
@@ -8,13 +8,14 @@
|
||||
<a class="addthis_counter addthis_bubble_style"></a>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var addthis_config = {"data_track_addressbar":true};
|
||||
var addthis_config = {"data_track_addressbar": false};
|
||||
var addthis_share = {
|
||||
"url":"<%= j post_path(post, :only_path => false, :host => Danbooru.config.hostname) %>",
|
||||
"title": "<%= j post.presenter.humanized_essential_tag_string %>"
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f8dbf8a41066ac7"></script>
|
||||
|
||||
<!-- AddThis Button END -->
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user