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 e1dcf96b526a7fd9b323cdf7b4f68be1e72f0d6c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/support.js
@@ -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.
You can’t perform that action at this time.