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 1 changed file with 2 additions and 2 deletions.
@@ -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
Copy link
Member Author

@jeresig jeresig commented on d7a0023 Dec 21, 2009

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.