From: jeresig Date: Mon, 21 Dec 2009 17:54:39 +0000 (-0500) Subject: Make sure we use instead of in the delegate test. X-Git-Tag: 1.4rc1~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d7a00234abb07658b47b098a318af334ff3b2509;p=jquery.git Make sure we use instead of in the delegate test. --- 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"))