aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-28 18:24:24 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-28 18:24:24 +0200
commit1dd88763de8e4ad2728d87dd33defb9cf1a71a42 (patch)
treee5c94c1324af9386f9b6c70cbb73fcbe4f0894fa /ext/fg/js
parent1f2734863f2f9213fd6c2db196d2b20969a7ee99 (diff)
clear Display history on new lookup
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/frontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index bcdfd152..b19e44d2 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -398,7 +398,7 @@ class Frontend {
textSource.getRect(),
textSource.getWritingMode(),
type,
- {definitions, context: {sentence, url, focus}}
+ {definitions, context: {sentence, url, focus, clearHistoryOnce: true}}
);
this.textSourceCurrent = textSource;