diff options
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/IconBar.tsx | 2 | ||||
| -rw-r--r-- | src/client/views/search/NaviconButton.tsx | 2 | ||||
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 2 | ||||
| -rw-r--r-- | src/client/views/search/SearchItem.tsx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/search/IconBar.tsx b/src/client/views/search/IconBar.tsx index 8746ac6e2..f361429f7 100644 --- a/src/client/views/search/IconBar.tsx +++ b/src/client/views/search/IconBar.tsx @@ -44,7 +44,7 @@ export class IconBar extends React.Component { } @action.bound - getList = (): string[] => { return SearchBox.Instance.getIcons(); } + getList(): string[] { return SearchBox.Instance.getIcons(); } @action.bound updateList(newList: string[]) { SearchBox.Instance.updateIcon(newList); } diff --git a/src/client/views/search/NaviconButton.tsx b/src/client/views/search/NaviconButton.tsx index 3f9bb030f..e319b945a 100644 --- a/src/client/views/search/NaviconButton.tsx +++ b/src/client/views/search/NaviconButton.tsx @@ -20,7 +20,7 @@ export class NaviconButton extends React.Component<NaviconProps> { that.ref.current.classList.toggle('active'); return false; } - })}; + });} } render() { diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 28bcadc6b..07e7496cf 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -92,7 +92,7 @@ export class SearchBox extends React.Component { }, 200); setTimeout(() => { panel.style.opacity = "1"; - }, 50) + }, 50); panel.style.maxHeight = panel.scrollHeight + "px"; } diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx index e80d42a5c..fa9d58152 100644 --- a/src/client/views/search/SearchItem.tsx +++ b/src/client/views/search/SearchItem.tsx @@ -129,7 +129,7 @@ export class SearchItem extends React.Component<SearchItemProps> { return num.toString() + " links"; } - pointerDown = (e: React.PointerEvent) => { SearchBox.Instance.openSearch(e); } + pointerDown = (e: React.PointerEvent) => { SearchBox.Instance.openSearch(e); }; highlightDoc = (e: React.PointerEvent) => { let docViews: DocumentView[] = DocumentManager.Instance.getAllDocumentViews(this.props.doc); |
