mirror of
https://github.com/Rushilwiz/crucialnet.git
synced 2025-04-03 19:30:16 -04:00
7 lines
156 B
JavaScript
7 lines
156 B
JavaScript
$('.js-input').keyup(function() {
|
|
if( $(this).val() ) {
|
|
$(this).addClass('not-empty');
|
|
} else {
|
|
$(this).removeClass('not-empty');
|
|
}
|
|
}); |