aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r--test/unit/attributes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js
index 2626fa022..67ef17472 100644
--- a/test/unit/attributes.js
+++ b/test/unit/attributes.js
@@ -376,7 +376,7 @@ test( "attr(String, Object)", function() {
});
var table = jQuery("#table").append("<tr><td>cell</td></tr><tr><td>cell</td><td>cell</td></tr><tr><td>cell</td><td>cell</td></tr>"),
- td = table.find("td:first");
+ td = table.find("td").eq(0);
td.attr( "rowspan", "2" );
equal( td[ 0 ]["rowSpan"], 2, "Check rowspan is correctly set" );
td.attr( "colspan", "2" );