Skip to content

Commit

Permalink
input type input typo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstocks committed Jul 12, 2010
1 parent 235f7cd commit 2251420
Showing 1 changed file with 1 addition and 1 deletion.
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 @@
if (this.input[0].value == '' || (loading && this.valueIsPlaceholder())) {
if (this.isPassword) {
try { // IE doesn't allow us to change the input type
this.input[0].setAttribute('type', 'input');
this.input[0].setAttribute('type', 'text');
} catch (e) {
this.input.before(this.fakePassword.show()).hide();
}
Expand Down

0 comments on commit 2251420

Please sign in to comment.