disable common searches
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<%= render "posts/partials/index/blacklist" %>
|
<%= render "posts/partials/index/blacklist" %>
|
||||||
|
|
||||||
<%= raw common_searches_html(CurrentUser.user) %>
|
<%#= raw common_searches_html(CurrentUser.user) %>
|
||||||
|
|
||||||
<section id="tag-box">
|
<section id="tag-box">
|
||||||
<h1>Tags</h1>
|
<h1>Tags</h1>
|
||||||
|
|||||||
@@ -1,17 +1,19 @@
|
|||||||
|
<!--
|
||||||
<section id="outer-recent-searches" style="display: none;">
|
<section id="outer-recent-searches" style="display: none;">
|
||||||
<h1>Recent Searches</h1>
|
<h1>Recent Searches</h1>
|
||||||
<ul id="recent-searches">
|
<ul id="recent-searches">
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
-->
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$.get("<%= Danbooru.config.reportbooru_server %>/user_searches", {
|
/*$.get("<%= Danbooru.config.reportbooru_server %>/user_searches", {
|
||||||
uid: <%= user.id %>,
|
uid: <%= user.id %>,
|
||||||
sig: "<%= sig %>"
|
sig: "<%= sig %>"
|
||||||
}, function(data) {
|
}, function(data) {
|
||||||
$("#recent-searches").html(data);
|
$("#recent-searches").html(data);
|
||||||
$("#outer-recent-searches").show();
|
$("#outer-recent-searches").show();
|
||||||
});
|
});*/
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user