/** * Functionality specific to Gaukingo. * * Provides helper functions to enhance the theme experience. */ (function($) { menuToggle = $('.menu-toggle'); siteNavigation = $('#masthead'); _window = $(window); /** * In small screens the dropdownToggle is a button with an icon inside and it is after the 'a' * that is the child of a 'li' with submenues. (The button and the 'a' are siblings of the submenu). * In big screens the dropdownToggle is only an icon and it is inside the 'a' that is the child of a 'li' with submenues. **/ function changeTheDropdownToggle() { if (881 > _window.width()) { var dropdownToggle = $('