js/main.js
// Function to handle changes to style classes based on window width
Function to handle changes to style classes based on window width
Function to handle changes to style classes based on window width
function checkWidth()
	{
		if ($window.width() < 767)
		{
			$('#top-header').removeClass('header-home').addClass('header-default');
		};
		if ($window.width() >= 767)
		{
			$('#top-header').removeClass('header-default').addClass('header-home');
		}
	}
function checkWidth ( ) { if ( $window . width ( ) < 767 ) { $ ( '#top-header' ) . removeClass ( 'header-home' ) . addClass ( 'header-default' ) ; } ; if ( $window . width ( ) >= 767 ) { $ ( '#top-header' ) . removeClass ( 'header-default' ) . addClass ( 'header-home' ) ; } }
Function to handle changes to style classes based on window width
Function to handle changes to style classes based on window width