disable common searches
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user