Commit 631fbc76 authored by Dave Methvin's avatar Dave Methvin

Since .getAttribute() returns strings, we should check for them.

parent 9ced0274
...@@ -693,7 +693,7 @@ test("prop('tabindex', value)", 10, function() { ...@@ -693,7 +693,7 @@ test("prop('tabindex', value)", 10, function() {
clone = element.clone(); clone = element.clone();
clone.prop( "tabindex", 1 ); clone.prop( "tabindex", 1 );
equal( clone[ 0 ].getAttribute("tabindex"), 1, "set tabindex on cloned element" ); equal( clone[ 0 ].getAttribute("tabindex"), "1", "set tabindex on cloned element" );
}); });
test("removeProp(String)", function() { test("removeProp(String)", function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment