Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure we use instead of in the delegate test.

  • Loading branch information...
commit d7a00234abb07658b47b098a318af334ff3b2509 1 parent 0d5bd17
@jeresig jeresig authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/delegatetest.html
View
4 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"))
</script>
</body>

1 comment on commit d7a0023

@jeresig

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.
Something went wrong with that request. Please try again.