'); $('#products').on('click', function() { $("#navbar-two").toggle(); }); } else { // code to run if it is there } // Add "Products" and "Games" dropdown as soon as hamburger appears. if ($(window).width() < 1200) { if ($('#products').length === 0) { // Products Menu // $("#menu section:nth-child(2)").after('