excmds.ts: Fix hint -j

https://github.com/tridactyl/tridactyl/pull/1381 inverted the behavior
of -J. This commit fixes that.
This commit is contained in:
glacambre 2019-02-27 06:17:15 +01:00
parent 0f0ab74391
commit 4ff992f49e
No known key found for this signature in database
GPG key ID: B9625DB1767553AC

View file

@ -3540,7 +3540,7 @@ export async function hint(option?: string, selectors?: string, ...rest: string[
const options = new Set(option.length ? option.slice(1).split("") : [])
const rapid = options.delete("q")
const jshints = options.delete("J")
const jshints = !options.delete("J")
const withSelectors = options.delete("c")
option = "-" + Array.from(options).join("")