document.body.addEventListener('click', function(e) { if(e.target != this) { e.target.style.fontSize = '20pt'; } });