Remove ! from HTML5 blur

This commit is contained in:
Nathan Gray 2012-06-13 16:58:12 +00:00
parent f5e97888eb
commit ceb63d84d7

View File

@ -137,7 +137,7 @@ var et2_textbox = et2_inputWidget.extend({
set_blur: function(_value) { set_blur: function(_value) {
if(_value) { if(_value) {
this.input.attr("placeholder", _value + "!"); // HTML5 this.input.attr("placeholder", _value + ""); // HTML5
if(!this.input[0].placeholder) { if(!this.input[0].placeholder) {
// Not HTML5 // Not HTML5
if(this.input.val() == "") this.input.val(this.options.blur); if(this.input.val() == "") this.input.val(this.options.blur);