mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Since .getAttribute() returns strings, we should check for them.
This commit is contained in:
parent
9ced027465
commit
631fbc769c
@ -693,7 +693,7 @@ test("prop('tabindex', value)", 10, function() {
|
||||
|
||||
clone = element.clone();
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user