git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192d6cd
)
.live("div div") was failing due to the extra space in the selector (which conflicted...
author
John Resig
<jeresig@gmail.com>
Sun, 4 Jan 2009 23:58:43 +0000
(23:58 +0000)
committer
John Resig
<jeresig@gmail.com>
Sun, 4 Jan 2009 23:58:43 +0000
(23:58 +0000)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
f1cdfc9
..
54705d1
100644
(file)
--- a/
src/event.js
+++ b/
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({