fix user editing

This commit is contained in:
Albert Yi
2018-10-22 17:35:59 -07:00
parent 464596fbb4
commit 9ce419b692
3 changed files with 3 additions and 8 deletions

View File

@@ -81,9 +81,7 @@
<script>
$(function() {
window.Danbooru.mixpanelEvent("Post Search", {
//"tags": <%= raw params[:tags].to_json %>,
"page": <%= raw params[:page].to_json %>,
//"referer": <%= raw request.referer.to_json %>
});
});
</script>

View File

@@ -196,13 +196,10 @@
<script>
$(function() {
window.Danbooru.mixpanelEvent("Post View", {
//"id": <%= @post.id %>,
"rating": '<%= @post.rating %>',
"size": <%= @post.file_size %>,
//"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 %>
"fav_count": <%= @post.fav_count %>,
"created_at": <%= raw @post.created_at.strftime('%F %T').to_json %>
});
});
</script>