Skip to content

Commit

Permalink
playing with recent pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
gmassanek committed Dec 5, 2011
1 parent 0ba7fbc commit 2d25e58
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/assets/javascripts/autocomplete-rails-uncompressed.js
Expand Up @@ -22,9 +22,11 @@ $(document).ready(function(){
{
var self = null;
jQuery.fn.railsAutocomplete = function() {
if (!this.railsAutoCompleter) {
this.railsAutoCompleter = new jQuery.railsAutocomplete(this);
}
return this.live('focus',function() {
if (!this.railsAutoCompleter) {
this.railsAutoCompleter = new jQuery.railsAutocomplete(this);
}
});
};

jQuery.railsAutocomplete = function (e) {
Expand Down

0 comments on commit 2d25e58

Please sign in to comment.