Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require 'Enter' key to confirm link hint selection #11

Merged
merged 1 commit into from
Sep 13, 2015

Conversation

jmgregory
Copy link

This pull request fixes Issue #1 - link selection requires Enter key confirmation

Without the Enter key confirmation, conflicts can occur between link hints such as 'A' and 'AS', so I pulled the hint generation algorithm from Vimium (https://github.com/philc/vimium) to generate the hint text. This required counting the total number of links ahead of time, which unfortunately creates a small bit of redundancy in the code.

I don't know what all the test cases are, but the behavior seems to be correct for me for all form inputs and links, with the possible exception of checkboxes.

@flippidippi flippidippi merged commit a51ba27 into flippidippi:master Sep 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants