disable common searches

This commit is contained in:
r888888888
2017-11-10 15:26:56 -08:00
parent 5e247df8ec
commit 354247e3c7
2 changed files with 5 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
<%= render "posts/partials/index/blacklist" %>
<%= raw common_searches_html(CurrentUser.user) %>
<%#= raw common_searches_html(CurrentUser.user) %>
<section id="tag-box">
<h1>Tags</h1>

View File

@@ -1,17 +1,19 @@
<!--
<section id="outer-recent-searches" style="display: none;">
<h1>Recent Searches</h1>
<ul id="recent-searches">
</ul>
</section>
-->
<script type="text/javascript">
$(function() {
$.get("<%= Danbooru.config.reportbooru_server %>/user_searches", {
/*$.get("<%= Danbooru.config.reportbooru_server %>/user_searches", {
uid: <%= user.id %>,
sig: "<%= sig %>"
}, function(data) {
$("#recent-searches").html(data);
$("#outer-recent-searches").show();
});
});*/
});
</script>