diff --git a/src/wp-content/themes/savinggrace/includes/js/general.js b/src/wp-content/themes/savinggrace/includes/js/general.js index 9f9e2c4..f279ae2 100644 --- a/src/wp-content/themes/savinggrace/includes/js/general.js +++ b/src/wp-content/themes/savinggrace/includes/js/general.js @@ -125,8 +125,14 @@ if( jQuery().superfish ) { /* Detect and adjust the heights of the main columns to match. */ /*-----------------------------------------------------------------------------------*/ - // Detect the heights of the two main columns. - + // Detect the heights of the two main columns. + + if (document.readyState != "complete") { + //console.info('ready...'); + setTimeout( arguments.callee, 100 ); + return; + } + var content; content = jQuery("#main");