Skip to content

Commit 8a4dcdd

Browse files
committed
Use abbr of hashrocket #972
1 parent 017bfc9 commit 8a4dcdd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/views/layouts/application.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@
8383
twemoji.parse(document.body);
8484

8585

86-
%script{:src => "https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js", type: "text/javascript"}
86+
%script{src: "https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js", type: "text/javascript"}
8787

8888
:javascript
8989
docsearch({
9090
apiKey: '315da3c406c3fa374a0696590f4821a3',
9191
indexName: 'coderdojo',
9292
inputSelector: '#searchbox',
93-
debug: false // Set debug to true if you want to inspect the dropdown
93+
debug: false // Set this true if you want to inspect the dropdown
9494
});
9595

9696
#fb-root

app/views/shared/_header.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<label for="search" class="search-label"><img src="/img/search.svg" alt="検索" class="search-icon" /></label>
3333
= check_box_tag :search, "検索アイコン", false, class: 'search-checkbox'
3434
.search
35-
%input#searchbox{ :placeholder => "資料を検索", :type => "text" }
35+
%input#searchbox{ placeholder: "資料を検索", type: "text" }
3636
#hits
3737
#pagination
3838
%li= link_to 'お問い合わせ', '/#contact'

0 commit comments

Comments
 (0)