diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-22 15:22:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 15:22:42 -0500 |
commit | 897f2360be13db70ff2f533089ba8d38b0b744ed (patch) | |
tree | fdfdc9ed13fb38117e922d27c60616f159a2c63e /ext/bg/js/search-query-parser.js | |
parent | f8f03f3af0ab031cc58bf5ad3f782c8d45137430 (diff) | |
parent | 6513a15b3b5fd8586226c8823e2680478b97e132 (diff) |
Merge pull request #363 from toasted-nutbread/eslint-stylistic-rules
Eslint stylistic rules
Diffstat (limited to 'ext/bg/js/search-query-parser.js')
-rw-r--r-- | ext/bg/js/search-query-parser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search-query-parser.js b/ext/bg/js/search-query-parser.js index 3d38e6e8..8c434990 100644 --- a/ext/bg/js/search-query-parser.js +++ b/ext/bg/js/search-query-parser.js @@ -59,7 +59,7 @@ class QueryParser extends TextScanner { this.search.setContent('terms', {definitions, context: { focus: false, - disableHistory: cause === 'mouse' ? true : false, + disableHistory: cause === 'mouse', sentence: {text: searchText, offset: 0}, url: window.location.href }}); |