Fix Q shortcut in chrome

fixes #2354
This commit is contained in:
Toks
2015-07-16 15:19:46 -04:00
parent e25bc38ca9
commit 68d4300f9c
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<div id="c-posts">
<div id="a-index">
<aside id="sidebar">
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags] %>
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags], :tags_dom_id => "tags" %>
<%= render "posts/partials/index/mode_menu" %>
@@ -36,7 +36,7 @@
</section>
<section id="responsive-tag-list">
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags] %>
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags], :tags_dom_id => "responsive-tags" %>
<%= @post_set.presenter.tag_list_html(self) %>
</section>

View File

@@ -6,7 +6,7 @@
<section id="search-box">
<h1>Search</h1>
<%= form_tag(path, :method => "get") do %>
<%= text_field_tag("tags", tags, :size => 20) %>
<%= text_field_tag("tags", tags, :size => 20, :id => tags_dom_id) %>
<% if params[:raw] %>
<%= hidden_field_tag :raw, params[:raw] %>
<% end %>

View File

@@ -1,7 +1,7 @@
<div id="c-posts">
<div id="a-show">
<aside id="sidebar">
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags] %>
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags], :tags_dom_id => "tags" %>
<%= render "posts/partials/index/blacklist" %>
@@ -89,7 +89,7 @@
</menu>
<section id="responsive-tag-list">
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags] %>
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags], :tags_dom_id => "responsive-tags" %>
<%= @post.presenter.split_tag_list_html(self) %>
</section>