git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that the body element exists before doing the body selector optimization...
[jquery.git]
/
test
/
unit
/
event.js
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
6d0fd9b
..
3032497
100644
(file)
--- a/
test/unit/event.js
+++ b/
test/unit/event.js
@@
-210,7
+210,7
@@
test("live/die(Object), delegate/undelegate(String, Object)", function() {
expect(6);
var clickCounter = 0, mouseoverCounter = 0,
- $p = jQuery("#firstp"), $a = $p.find("a").first();
+ $p = jQuery("#firstp"), $a = $p.find("a:first");
var events = {
click: function( event ) {