eliminate unused vars in search counters
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
$(function() {
|
||||
var tags = $("#tags").val();
|
||||
$.post("<%= Danbooru.config.reportbooru_server %>/missed_searches", {
|
||||
session_id: "<%= session_id %>",
|
||||
tags: tags,
|
||||
sig: "<%= sig %>"
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$.post("<%= Danbooru.config.reportbooru_server %>/hits", {
|
||||
key: "<%= key %>",
|
||||
value: "<%= value %>",
|
||||
<% if CurrentUser.user.is_platinum? %>
|
||||
uid: <%= CurrentUser.user.id %>,
|
||||
<% end %>
|
||||
$.post("<%= Danbooru.config.reportbooru_server %>/post_searches", {
|
||||
sig: "<%= sig %>"
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user