aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources/html/js-src/quick-jump.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-api/resources/html/js-src/quick-jump.tsx')
-rw-r--r--haddock-api/resources/html/js-src/quick-jump.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/resources/html/js-src/quick-jump.tsx b/haddock-api/resources/html/js-src/quick-jump.tsx
index 12270372..e64dae0b 100644
--- a/haddock-api/resources/html/js-src/quick-jump.tsx
+++ b/haddock-api/resources/html/js-src/quick-jump.tsx
@@ -151,7 +151,7 @@ class QuickJump extends Component<QuickJumpProps, QuickJumpState> {
}
hide() {
- this.setState({ isVisible: false });
+ this.setState({ isVisible: false, searchString: '' });
}
show() {
@@ -417,4 +417,4 @@ export function init(docBaseUrl?: string, showHide?: (action: () => void) => voi
}
// export to global object
-(window as any).quickNav = { init: init }; \ No newline at end of file
+(window as any).quickNav = { init: init };