Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
don't collide me bro
Browse files Browse the repository at this point in the history
  • Loading branch information
spasovski committed Oct 17, 2012
1 parent 7f2e008 commit 6fc6f71
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions media/js/impala/suggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,15 @@ $.fn.searchSuggestions = function($results, processCallback, searchType) {
return;
}, 350);
});
} else {
$self.keydown(gestureHandler).bind('keyup paste',
_.throttle(inputHandler, 250))
}

$self.keydown(gestureHandler)
.bind('keyup paste', _.throttle(inputHandler, 250))
.blur(function() {
clearInterval(pollVal);
_.delay(dismissHandler, 250);
});
$self.keydown(gestureHandler).blur(function() {
clearInterval(pollVal);
_.delay(dismissHandler, 250);
});

$results.delegate('li, p', 'hover', function() {
$results.find('.sel').removeClass('sel');
Expand Down

0 comments on commit 6fc6f71

Please sign in to comment.