From aae39cd4cd3d4692d05cb9b1a20a347cb74e2d6d Mon Sep 17 00:00:00 2001 From: david Date: Wed, 14 Dec 2011 18:13:33 +0000 Subject: [PATCH] =?UTF-8?q?Tarea=20#704=20->=20Error=20en=20el=20c=C3=A1lc?= =?UTF-8?q?ulo=20por=20javascript=20del=20alta=20de=20las=20columnas=20de?= =?UTF-8?q?=20la=20p=C3=A1gina=20web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.AdemasProyectosSolidarios_Web/trunk@16 dac18aa3-6f68-5b46-b19f-13bb96c8fe2c --- .../themes/savinggrace/includes/js/general.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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");