summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-10-30 13:09:11 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-23 17:43:30 +0200
commit408aa73cced09e1d4fd00cfd193d7f3bcb18b689 (patch)
tree8595c56bc687ec857ae467615c19ff68dc79918b
parent627e16d44b19bdae1bc51fa6f76bc766939e0786 (diff)
fix default params for term clicking
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 82385bf9..4c698ecf 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -98,7 +98,7 @@ class Display {
}
}
- async onTermLookup(e, {disableScroll, selectText, disableHistory}) {
+ async onTermLookup(e, {disableScroll, selectText, disableHistory}={}) {
const termLookupResults = await this.termLookup(e);
if (!termLookupResults) {
return false;