1
0
mirror of synced 2025-02-04 14:19:23 +03:00

Merge pull request #173 from nutshellcrm/38b9d060b116fc4957110f25b03b8437be981136

Fix placeholders in jQuery 1.4
This commit is contained in:
Igor Vaynberg 2012-06-28 21:49:45 -07:00
commit b886b40907

View File

@ -1000,7 +1000,10 @@
// abstract // abstract
getPlaceholder: function () { getPlaceholder: function () {
return this.opts.element.attr("placeholder") || this.opts.element.data("placeholder") || this.opts.placeholder; return this.opts.element.attr("placeholder") ||
this.opts.element.attr("data-placeholder") || // jquery 1.4 compat
this.opts.element.data("placeholder") ||
this.opts.placeholder;
}, },
/** /**