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

Add checks to prevent infinite loop #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add checks to prevent infinite loop #5

wants to merge 2 commits into from

Conversation

tuff
Copy link

@tuff tuff commented Apr 1, 2013

The processTab function looped infinitely when the trap container has only a single focussable element: you can see an example in http://julienw.github.com/jquery-trap-input/examples/simple.html, if you view the trap container in a DOM inspector and delete all but one anchor inside.

tuff-ghost added 2 commits April 1, 2013 16:46
add checks to prevent infinite loop
add checks to prevent infinite loop (to minified file also)
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.

None yet

1 participant