-
Notifications
You must be signed in to change notification settings - Fork 185
what is mean this code? #43
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
Comments
As you mentioned, that handler never fired to deselect elements. I fixed the issue by changing the event type in the latest commits on my fork. Would you mind trying that to see if it solves your issue? |
dear TheCrimsonKing92 What do you think about this change? |
So the event is attached to that.sc rather than that? Perhaps that would fix the issue, if the event only bubbles to the parent. Does it work? |
hi ~ TheCrimsonKing92. |
live('autocomplete-suggestion', 'mouseleave',
function(e){
var sel = that.sc.querySelector('.autocomplete-suggestion.selected');
if (sel) setTimeout(function(){ sel.className = sel.className.replace('selected', ''); }, 20);
}, that.sc);
What does this code mean?
I think it doesn't working.
Because that.sc and parent are not included "autocomplete-suggestion"
What do you think about it?
The text was updated successfully, but these errors were encountered: