diff options
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r-- | test/unit/attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 976869780..e7145730b 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -1017,7 +1017,7 @@ var testAddClass = function( valueObj ) { var div = jQuery("#qunit-fixture div"); div.addClass( valueObj("test") ); var pass = true; - for ( var i = 0; i < div.size(); i++ ) { + for ( var i = 0; i < div.length; i++ ) { if ( !~div.get( i ).className.indexOf("test") ) { pass = false; } |