disable some props
This commit is contained in:
@@ -81,9 +81,9 @@
|
|||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
window.Danbooru.mixpanelEvent("Post Search", {
|
window.Danbooru.mixpanelEvent("Post Search", {
|
||||||
"tags": <%= raw params[:tags].to_json %>,
|
//"tags": <%= raw params[:tags].to_json %>,
|
||||||
"page": <%= raw params[:page].to_json %>,
|
"page": <%= raw params[:page].to_json %>,
|
||||||
"referer": <%= raw request.referer.to_json %>
|
//"referer": <%= raw request.referer.to_json %>
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -196,13 +196,13 @@
|
|||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
window.Danbooru.mixpanelEvent("Post View", {
|
window.Danbooru.mixpanelEvent("Post View", {
|
||||||
"id": <%= @post.id %>,
|
//"id": <%= @post.id %>,
|
||||||
"rating": '<%= @post.rating %>',
|
"rating": '<%= @post.rating %>',
|
||||||
"size": <%= @post.file_size %>,
|
"size": <%= @post.file_size %>,
|
||||||
"fav_count": <%= @post.fav_count %>,
|
//"fav_count": <%= @post.fav_count %>,
|
||||||
"created_at": <%= raw @post.created_at.strftime('%F %T').to_json %>,
|
"created_at": <%= raw @post.created_at.strftime('%F %T').to_json %>,
|
||||||
"tags": <%= raw @post.presenter.humanized_essential_tag_string.to_json %>,
|
//"tags": <%= raw @post.presenter.humanized_essential_tag_string.to_json %>,
|
||||||
"referer": <%= raw request.referer.to_json %>
|
//"referer": <%= raw request.referer.to_json %>
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user