Skip to content

Autocomplete: Search if the user retypes the same value #1238

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

Merged
merged 1 commit into from
May 12, 2014

Conversation

tjvantoll
Copy link
Member

Fixes #7434

@jzaefferer
Copy link
Member

Looks good to me.

@tjvantoll
Copy link
Member Author

Cool. I'll give @scottgonzalez a chance to look this one over too.

event.metaKey || event.shiftKey;

if ( !equalValues ||
( equalValues && !menuVisible && !modifierKey ) ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this is short enough to fit on one line. If it's not, the second line needs an extra level of indentation to distinguish it from the body.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fits (under 100) and looks cleaner so I put it all on one line.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment fits under 100 on the same line as well, so I think I'm going to make that one line too.

@tjvantoll tjvantoll merged commit 48001a8 into jquery:master May 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants