lint compliance
This commit is contained in:
parent
4e013520c5
commit
5a8104e793
|
@ -259,9 +259,9 @@ define([
|
|||
if (placeholder) {
|
||||
input.placeholder = val;
|
||||
input.value = '';
|
||||
$(input).change(function () {
|
||||
input.placeholder = '';
|
||||
$(input).off(change);
|
||||
$(input).on('keypress', function () {
|
||||
$(input).removeAttr('placeholder');
|
||||
$(input).off('keypress');
|
||||
});
|
||||
}
|
||||
if (uid) { $(input).data('uid', uid); }
|
||||
|
|
Loading…
Reference in New Issue