lint compliance

pull/1/head
yflory 3 years ago
parent 4e013520c5
commit 5a8104e793

@ -259,9 +259,9 @@ define([
if (placeholder) { if (placeholder) {
input.placeholder = val; input.placeholder = val;
input.value = ''; input.value = '';
$(input).change(function () { $(input).on('keypress', function () {
input.placeholder = ''; $(input).removeAttr('placeholder');
$(input).off(change); $(input).off('keypress');
}); });
} }
if (uid) { $(input).data('uid', uid); } if (uid) { $(input).data('uid', uid); }

Loading…
Cancel
Save