]> source.dussan.org Git - jquery.git/commitdiff
.live("div div") was failing due to the extra space in the selector (which conflicted...
authorJohn Resig <jeresig@gmail.com>
Sun, 4 Jan 2009 23:58:43 +0000 (23:58 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 4 Jan 2009 23:58:43 +0000 (23:58 +0000)
src/event.js

index f1cdfc999f3fc1f1655bb02f1ebd8031d945a154..54705d10a25b5fccef5de7419d00da8cd2fe713e 100644 (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({