Skip to content

Commit

Permalink
Resolves an issue with password inputs in IE6 and IE7. Patched by tem…
Browse files Browse the repository at this point in the history
…p01. Fixes mathiasbynens#12.
  • Loading branch information
mathiasbynens committed Nov 3, 2010
1 parent b9e03c0 commit cfd1fbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jquery.placeholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
var newAttrs = {},
rinlinejQuery = /^jQuery\d+$/;
$.each(elem.attributes, function(i, attr) {
if (!rinlinejQuery.test(attr.name)) {
if (attr.specified && !rinlinejQuery.test(attr.name)) {
newAttrs[attr.name] = attr.value;
}
});
Expand Down
2 changes: 1 addition & 1 deletion jquery.placeholder.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cfd1fbd

Please sign in to comment.