From d1146aa7bfda81f5737fa1304af894cd9c578858 Mon Sep 17 00:00:00 2001 From: John Resig Date: Sun, 4 Jan 2009 23:58:43 +0000 Subject: [PATCH] .live("div div") was failing due to the extra space in the selector (which conflicted with multiple event binding in .bind). --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.js b/src/event.js index f1cdfc999f..54705d10a2 100644 --- 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({