Skip to content

Commit

Permalink
Copy id when creating password placeholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
danbentley committed Jun 17, 2011
1 parent 87d9da5 commit e74f670
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/jquery.placeholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
return $('<input>').attr({
placeholder: input.attr('placeholder'),
value: input.attr('placeholder'),
id: input.attr('id'),
readonly: true
}).addClass(input.attr('class'));
}
Expand Down

0 comments on commit e74f670

Please sign in to comment.