respect text selection option in query parser
This commit is contained in:
parent
5a3e8c819c
commit
8825c481b5
@ -32,7 +32,8 @@ class QueryParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onClick(e) {
|
onClick(e) {
|
||||||
this.onTermLookup(e, {disableScroll: true, selectText: true});
|
const selectText = this.search.options.scanning.selectText;
|
||||||
|
this.onTermLookup(e, {disableScroll: true, selectText});
|
||||||
}
|
}
|
||||||
|
|
||||||
onMouseEnter(e) {
|
onMouseEnter(e) {
|
||||||
@ -52,7 +53,8 @@ class QueryParser {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.onTermLookup(e, {disableScroll: true, selectText: true, disableHistory: true});
|
const selectText = this.search.options.scanning.selectText;
|
||||||
|
this.onTermLookup(e, {disableScroll: true, disableHistory: true, selectText});
|
||||||
}
|
}
|
||||||
|
|
||||||
onTermLookup(e, params) {
|
onTermLookup(e, params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user