From 225142096239a32d89f517254cafa415b0dcf665 Mon Sep 17 00:00:00 2001 From: Daniel Stocks Date: Mon, 12 Jul 2010 10:56:45 +0200 Subject: [PATCH] input type input typo --- jquery.placeholder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.placeholder.js b/jquery.placeholder.js index 54def14..a2c99d3 100644 --- a/jquery.placeholder.js +++ b/jquery.placeholder.js @@ -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(); }