8

Working on a big project with lots of legacy code and terrible code. Full of jewels like this:

$('.form-item-to input').parent().removeClass('isOpen');

Man... .form-item-to IS the immediate, direct and only parent of the only input child!!!

Comments
Add Comment