.live("div div") was failing due to the extra space in the selector (which conflicted with multiple event binding in .bind).

This commit is contained in:
John Resig 2009-01-04 23:58:43 +00:00
parent 192d6cd4a3
commit d1146aa7bf

View File

@ -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({