Closed paulroub closed 6 years ago
Currently, https://stackoverflow.com/review/close/17881591 is in the CVQ with an existing custom reason, if you need a place to test.
Thanks for working on this.
Re: [10] being needed: I'm fine with opening another issue for that. I'm open for others to discuss/choose what they desire (multiple possible solutions; e.g. just walking up the keyCode
).
Minor nit: indenting on clickOffTopicReason(configuration.offTopicReasons.other.value, key - keys[configuration.offTopicReasons.other.key])
This isn't a script which I normally use, as I usually CV/CVQ with one hand on keyboard, other on mouse (and wrote a script to permit single-Alt-click to close and single-Alt-Ctrl-click to close+cv-pls, which I need to bang into shape to release).
I should be able to test this in a bit.
Will fail if more than 2 pre-existing custom reasons are present.
We just get the "index" of off-topic reasons, counting from 7 onward.
Basic stab at a fix for #110; probably wants guards or re-work to handle the case where more than 2 pre-existing custom reasons are present. What does the script do, regardless, if [10] needs to be used as a label?