diff options
| author | Stephen Blott | 2015-02-11 05:47:05 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-11 05:52:14 +0000 |
| commit | 91767943290f799ce99a935a8ce19f1766508d91 (patch) | |
| tree | c3da9a1d018b4d67bfec108c5ad722674fc7bffd /git_hooks | |
| parent | 90afb58f3752d562b5c5683d170317cc5f15b42c (diff) | |
| download | vimium-91767943290f799ce99a935a8ce19f1766508d91.tar.bz2 | |
Fix error on yank/scroll.
When we exit visual mode with "y"...
"y" is a command for visual mode. Currently it clears the selection.
Because it's executed as a command, scrollIntoView is called after
running the command. Because the selection is cleared, scrollIntoView
found nothing to scroll, and was creating an error.
So we need to check whether there's anything to scroll into view, before
trying to scroll it.
Also fix mis-named file in the tests.
Diffstat (limited to 'git_hooks')
0 files changed, 0 insertions, 0 deletions
