lint compliance

This commit is contained in:
yflory 2021-08-23 18:16:53 +02:00
parent 4e013520c5
commit 5a8104e793
1 changed files with 3 additions and 3 deletions

View File

@ -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); }