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