app/assets/javascripts/lolita/menu/autocomplete-rails.js in lolita-menu-0.3.6 vs app/assets/javascripts/lolita/menu/autocomplete-rails.js in lolita-menu-0.4.0
- old
+ new
@@ -20,10 +20,10 @@
(function(jQuery)
{
var self = null;
jQuery.fn.railsAutocomplete = function() {
- return this.live('focus',function() {
+ return this.on('focus',this,function() {
if (!this.railsAutoCompleter) {
this.railsAutoCompleter = new jQuery.railsAutocomplete(this);
}
});
};