diff options
author | oakkitten <oakkitten@users.noreply.github.com> | 2022-07-01 22:12:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 17:12:55 -0400 |
commit | 49c75c3093734b90e25674ae2fa8a3886bb299fc (patch) | |
tree | 42aa5adef109e5bb3eee7063ed7d8b9bc195771f /ext/js/language/translator.js | |
parent | 4e7762edacb6cfdb49207bbf43102a04706c78a1 (diff) |
Do not change selection if user selected text manually (#2186)
* Do not change selection if user selected text manually
* Remove capture argument for selectionchange listener
It is not applicable
* Make a note of user selection when Yomichan is enabled
User might have some text selected on a page prior to enabling Yomichan
via the toolbar icon; let it stay intact.
* Extract selection change by user listener into a method
Diffstat (limited to 'ext/js/language/translator.js')
0 files changed, 0 insertions, 0 deletions