Skip to content
Permalink
Browse files

Make sure we use instead of in the delegate test.

  • Loading branch information
jeresig committed Dec 21, 2009
1 parent 0d5bd17 commit d7a00234abb07658b47b098a318af334ff3b2509
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/delegatetest.html
@@ -111,12 +111,12 @@ <h2>Submit Tests</h2>
$(".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"))

</script>
</body>

1 comment on commit d7a0023

@jeresig

This comment has been minimized.

Copy link
Member Author

@jeresig jeresig commented on d7a0023 Dec 21, 2009

Weird, the commit message got munged. It should say "Make sure we use jQuery(document) instead of jQuery() in the delegate test.

Please sign in to comment.
You can’t perform that action at this time.