aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-05 11:54:48 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-05 11:54:48 -0800
commitca778d30f70997706bba85651bc3a26b5ebc3708 (patch)
tree505ec0284477dc6dbe94b2ef1daf6d04b0991673 /ext/bg/js
parent0e8f00a68f625953e94112c95a952cd022f0f2af (diff)
visual improvements to search page
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/display-window.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/display-window.js b/ext/bg/js/display-window.js
index 568c5526..f0d920e5 100644
--- a/ext/bg/js/display-window.js
+++ b/ext/bg/js/display-window.js
@@ -45,6 +45,7 @@ window.displayWindow = new class extends Display {
onSearch(e) {
e.preventDefault();
+ $('#intro').slideUp();
instYomi().termsFind($('#query').val()).then(({length, definitions}) => {
super.showTermDefs(definitions, instYomi().options);
}).catch(this.handleError.bind(this));