From 1beaa0b3c2e653aff007241870b9893daa098f05 Mon Sep 17 00:00:00 2001 From: roberto Date: Tue, 20 Dec 2011 13:06:44 +0000 Subject: [PATCH] Se pone barra lateral tan larga como el contenido git-svn-id: https://192.168.0.254/svn/Proyectos.Afetec_Web/trunk@7 828b2857-b6d9-ce4d-95e2-bbc4707c23a3 --- src/wp-content/themes/positive/lib/js/custom.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/positive/lib/js/custom.js b/src/wp-content/themes/positive/lib/js/custom.js index 6d53e28..7e67ebd 100644 --- a/src/wp-content/themes/positive/lib/js/custom.js +++ b/src/wp-content/themes/positive/lib/js/custom.js @@ -356,6 +356,20 @@ }); +jQuery(document).ready(function() { + + if (document.readyState != "complete") { + //console.info('ready...'); + setTimeout( arguments.callee, 100 ); + return; + } + + contenido = jQuery("#withsidebar-content"); + barra = jQuery("#narrow-content"); + barra.height(contenido.height()); +}); -})(jQuery); \ No newline at end of file + +})(jQuery); +