Drop unused common_searches code.

This commit is contained in:
evazion
2019-09-01 15:52:28 -05:00
parent dacb21b085
commit 95b8420ba2
4 changed files with 1 additions and 33 deletions

View File

@@ -1,19 +0,0 @@
<!--
<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", {
uid: <%= user.id %>,
sig: "<%= sig %>"
}, function(data) {
$("#recent-searches").html(data);
$("#outer-recent-searches").show();
});*/
});
</script>

View File

@@ -67,7 +67,6 @@
<%= f.input :disable_mobile_gestures, :as => :select, :hint => "Disable swipe left / swipe right gestures on mobile", :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
<%= f.input :disable_post_tooltips, :as => :select, :hint => "Disable advanced tooltips when hovering over thumbnails", :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
<%= f.input :disable_cropped_thumbnails, :as => :select, :hint => "Disable cropped (square) thumbnails on mobile", :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
<%= f.input :enable_recent_searches, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
<%= f.input :disable_responsive_mode, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false, :hint => "Disable alternative layout for mobile and tablet" %>
<%= f.input :opt_out_tracking, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false, :hint => "Opt out of tracking" %>