fix default params for term clicking

This commit is contained in:
siikamiika 2019-10-30 13:09:11 +02:00
parent 627e16d44b
commit 408aa73cce

View File

@ -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;