Good day, really need help, there is a script
$(document).ready(function() { $('#contact').click(function () { $( ".right-content" ).animate({ opacity: "toggle"}, 200, "linear", function() { }); }); }); How to make it so that when you click outside the .right-content block and the buttons with #contact, the .right-content block collapses? Who can already faced such task?