Skip to content

Commit

Permalink
Merge pull request #114 from Robot-Inventor/fix-search-bug#110
Browse files Browse the repository at this point in the history
検索機能が動作しないバグを修正 #110
  • Loading branch information
Robot-Inventor authored Mar 16, 2021
2 parents 694aa39 + eb949d5 commit 5169bd7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ Edition: ORIZIN Agent HTML

## リリース

### [v5.0.144.11dev-Eagle] - 2021-03-09
### [v5.0.144.11dev-Eagle] - 2021-03-17

#### 変更

- 試験機能ページの各項目をコンポーネント化しました [#101](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/101)
- コンポーネント関連のJavaScriptを別ファイルに分けました [#105](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/105)

#### 削除
Expand All @@ -48,14 +49,13 @@ Edition: ORIZIN Agent HTML
#### 修正

- 試験機能ページで続行確認後にメッセージが切り替わらないバグを修正しました [#100](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/100)
- 試験機能ページの各項目をコンポーネント化しました [#101](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/101)
- 検索機能が動作しないバグを修正しました [#110](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/110)

### [v5.0.143.10-Eagle] - 2021-03-08

#### 変更

- HTMLファイルに直書きとなっていたCSSとJavaScriptを別ファイルに切り出しました [#93](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/93)
- 試験機能ページの各項目をコンポーネント化しました [#101](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/101)

#### セキュリティー

Expand Down
2 changes: 1 addition & 1 deletion resource/information.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Series Name:ORIZIN Agent
Edition:ORIZIN Agent HTML
Version:v5.0.144.11dev
Code Name:Eagle
Date:2021-03-09 JST
Date:2021-03-17 JST
7 changes: 4 additions & 3 deletions resource/javascript/flag.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ document.getElementById("refresh_button").addEventListener("click", () => {
});
});

const search_box = document.getElementById("search_box");

search_box.init("experiment-card");
window.addEventListener("load", () => {
const search_box = document.getElementById("search_box");
search_box.init("experiment-card");
});

Mousetrap.bind({
"/": () => {
Expand Down
7 changes: 5 additions & 2 deletions resource/javascript/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,11 @@ document.getElementById("factory_reset_button").addEventListener("click", () =>
});
});

const search_box = document.getElementById("search_box");
search_box.init("div.fill_panel section");
window.addEventListener("load", () => {
const search_box = document.getElementById("search_box");
search_box.init("div.fill_panel section");
});

Mousetrap.bind({
"/": () => {
search_box.focus();
Expand Down

0 comments on commit 5169bd7

Please sign in to comment.