JAVASCRIPT ,html :                 $('#menuToggle, .menu-close').on('click', function(){
				$('#menuToggle').toggleClass('active');
				$('body').toggleClass('body-push-toleft');
				$('#theMenu').toggleClass('menu-open');
				$('#menuToggle').find($(".fa")).toggleClass('fa-rotate-180');
				$("body").toggleClass("active");
			});

this is my javascript  code for navigation menu slide form right side.It is working properly but i want to close this menu when once it is open on click or close menu click anywhere on body and toggle button?