Drop unused common_searches code.
This commit is contained in:
@@ -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>
|
||||
@@ -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" %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user