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

keyboard navigation stops working on all sly instances if only one is destroyed #166

Closed
flexphperia opened this issue Jan 21, 2015 · 1 comment
Labels

Comments

@flexphperia
Copy link

When we have more than one instances of Sly and one of it's is destroyed, destroy method will unbind keyboardHandler function from $doc element like this:
$doc.unbind('.' namespace);

This will remove keyboardHandler function from all instances of sly even those that are not the part of destroy call.

@darsain
Copy link
Owner

darsain commented Jan 21, 2015

Tru. I'll fix it when I'll have some time.

@darsain darsain added the bug label Jan 21, 2015
@darsain darsain closed this as completed in 491df9a Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants