Skip to content

Commit

Permalink
.live("div div") was failing due to the extra space in the selector (…
Browse files Browse the repository at this point in the history
…which conflicted with multiple event binding in .bind).
  • Loading branch information
jeresig committed Jan 4, 2009
1 parent 192d6cd commit d1146aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.js
Expand Up @@ -573,7 +573,7 @@ function liveHandler( event ){
}

function liveConvert(type, selector){
return ["live", type, selector.replace(/\./g, "_")].join(".");
return ["live", type, selector.replace(/\./g, "`").replace(/ /g, "|")].join(".");
}

jQuery.extend({
Expand Down

0 comments on commit d1146aa

Please sign in to comment.