From f2ea627f4733f276b61ad6655c5736b2d50f3e33 Mon Sep 17 00:00:00 2001 From: passbe Date: Wed, 15 Dec 2010 09:56:40 +0000 Subject: [PATCH] Switched the callback function to load(), ready fires as soon as the iframe is avaliable in the dom. load() waits until the page has finished loading. git-svn-id: https://beef.googlecode.com/svn/trunk@606 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- modules/beefjs/dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/beefjs/dom.js b/modules/beefjs/dom.js index 2a334c530..91cbe6534 100644 --- a/modules/beefjs/dom.js +++ b/modules/beefjs/dom.js @@ -74,7 +74,7 @@ beef.dom = { var css = {}; if (type == 'hidden') { css = $j.extend(true, {'border':'none', 'width':'1px', 'height':'1px', 'display':'none', 'visibility':'hidden'}, params); } if (type == 'fullscreen') { css = $j.extend(true, {'border':'none', 'background-color':'white', 'width':'100%', 'height':'100%', 'position':'absolute', 'top':'0px', 'left':'0px'}, params); } - return $j('body').prepend('