diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-10-30 13:09:11 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-23 17:43:30 +0200 |
commit | 408aa73cced09e1d4fd00cfd193d7f3bcb18b689 (patch) | |
tree | 8595c56bc687ec857ae467615c19ff68dc79918b /ext/mixed/js/display.js | |
parent | 627e16d44b19bdae1bc51fa6f76bc766939e0786 (diff) |
fix default params for term clicking
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r-- | ext/mixed/js/display.js | 2 |
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; |