aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/display-frame.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-15 21:13:58 -0700
committerAlex Yatskov <alex@foosoft.net>2017-03-15 21:13:58 -0700
commit8893db14caa6d34117dcb7e38ec1af32baa89b95 (patch)
tree9ef3655bed5e13751b4ea5488c92d132d250ead7 /ext/fg/js/display-frame.js
parent8fb398aad8752f3307452f1a1d3459bace77a97c (diff)
wip
Diffstat (limited to 'ext/fg/js/display-frame.js')
-rw-r--r--ext/fg/js/display-frame.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/fg/js/display-frame.js b/ext/fg/js/display-frame.js
index bc2e15df..8f15b1bc 100644
--- a/ext/fg/js/display-frame.js
+++ b/ext/fg/js/display-frame.js
@@ -55,12 +55,10 @@ window.displayFrame = new class extends Display {
onMessage(e) {
const handlers = new class {
api_showTermDefs({definitions, options, context}) {
- window.scrollTo(0, 0);
this.showTermDefs(definitions, options, context);
}
api_showKanjiDefs({definitions, options, context}) {
- window.scrollTo(0, 0);
this.showKanjiDefs(definitions, options, context);
}