Skip to content
Permalink
Browse files

.live("div div") was failing due to the extra space in the selector (…

…which conflicted with multiple event binding in .bind).
  • Loading branch information
jeresig committed Jan 4, 2009
1 parent 192d6cd commit d1146aa7bfda81f5737fa1304af894cd9c578858
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -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({

0 comments on commit d1146aa

Please sign in to comment.
You can’t perform that action at this time.