Skip to content

Commit 3a3a7cd

Browse files
committed
Ensure that selector is not broken.
1 parent 33f74e3 commit 3a3a7cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ test("live/die(Object), delegate/undelegate(String, Object)", function() {
210210
expect(6);
211211

212212
var clickCounter = 0, mouseoverCounter = 0,
213-
$p = jQuery("#firstp"), $a = $p.find("a").first();
213+
$p = jQuery("#firstp"), $a = $p.find("a:first");
214214

215215
var events = {
216216
click: function( event ) {

0 commit comments

Comments
 (0)