Merge pull request #56 from ProLoser/master
Added support for [placeholder] attribute
This commit is contained in:
commit
a1457fa491
@ -758,9 +758,7 @@
|
||||
},
|
||||
|
||||
getPlaceholder: function () {
|
||||
var placeholder = this.opts.element.data("placeholder");
|
||||
if (placeholder !== undefined) return placeholder;
|
||||
return this.opts.placeholder;
|
||||
return this.opts.element.attr("placeholder") || this.opts.element.data("placeholder") || this.opts.placeholder;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user