From d7a00234abb07658b47b098a318af334ff3b2509 Mon Sep 17 00:00:00 2001 From: jeresig Date: Mon, 21 Dec 2009 12:54:39 -0500 Subject: [PATCH] Make sure we use instead of in the delegate test. --- test/delegatetest.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/delegatetest.html b/test/delegatetest.html index c580b290e..cf30d87e3 100644 --- a/test/delegatetest.html +++ b/test/delegatetest.html @@ -111,12 +111,12 @@ $(".radio_test").live("change",makeChangeFunc("#radio")) $('textarea').live('change', makeChangeFunc("#textarea")) $('#input').live('change', makeChangeFunc("#text")) - $().bind('change', makeChangeFunc("#boundChange")) + $(document).bind('change', makeChangeFunc("#boundChange")) $("#text_submit").live("submit", makeChangeFunc("#textSubmit", true) ) $("#password_submit").live("submit", makeChangeFunc("#passwordSubmit", true) ) $("#submit_submit").live("submit", makeChangeFunc("#submitSubmit", true) ) - $().bind('submit', makeChangeFunc("#boundSubmit")) + $(document).bind('submit', makeChangeFunc("#boundSubmit")) -- 2.39.5