Skip to content
Permalink
Browse files
Use a fresh input for the value-lossage check.
  • Loading branch information
dmethvin committed Dec 31, 2012
1 parent f75c062 commit e1dcf96
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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";

0 comments on commit e1dcf96

Please sign in to comment.