Ensure that selector is not broken.

This commit is contained in:
Robert Katic 2010-04-13 15:11:56 +02:00 committed by jeresig
parent dc4c9abc39
commit 7367b524ec

View file

@ -210,7 +210,7 @@ test("live/die(Object), delegate/undelegate(String, Object)", function() {
expect(6); expect(6);
var clickCounter = 0, mouseoverCounter = 0, var clickCounter = 0, mouseoverCounter = 0,
$p = jQuery("#firstp"), $a = $p.find("a").first(); $p = jQuery("#firstp"), $a = $p.find("a:first");
var events = { var events = {
click: function( event ) { click: function( event ) {