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

CFP hotkey for input also types hotkey in input #66

Closed
ilanbiala opened this issue Aug 4, 2014 · 2 comments
Closed

CFP hotkey for input also types hotkey in input #66

ilanbiala opened this issue Aug 4, 2014 · 2 comments
Labels

Comments

@ilanbiala
Copy link

.add({
      combo: 's',
      description: 'Search for new tweets',
      callback: function() {
        $('.input input').trigger('focus');
        $scope.searchTweets = '';
      }
    })

$('.input input') then has the letter 's' in it and is focused.

@chieffancypants
Copy link
Owner

you want to prevent the default action from taking place. See previous issue #1

@ilanbiala
Copy link
Author

Thanks!

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