Commit e1dcf96b authored by Dave Methvin's avatar Dave Methvin

Use a fresh input for the value-lossage check.

parent f75c0627
......@@ -85,6 +85,7 @@ jQuery.support = (function() {
}
// Check if an input maintains its value after becoming a radio
input = document.createElement("input");
input.value = "t";
input.setAttribute( "type", "radio" );
support.radioValue = input.value === "t";
......
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