safari/chrome 브라우저에서 document.ready에 대해 complete 후 이미지 조절 기능 동작하도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6430 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-05-28 00:31:19 +00:00
parent 9944e9e367
commit 56226fc832

View file

@ -158,6 +158,11 @@ function slideshow(event) {
}
$(document).ready(function(){
if (jQuery.browser.safari && document.readyState != "complete"){
setTimeout( arguments.callee, 100 );
return;
}
var regx_skip = /(?:modules|addons|classes|common|layouts|libs|widgets)/i;
var regx_parent = /(?:document|comment)_[0-9]+_[0-9]+/i;