diff options
-rw-r--r-- | itjs.php | 5 | ||||
-rw-r--r-- | itjs/boot.js | 2 |
2 files changed, 2 insertions, 5 deletions
@@ -45,10 +45,7 @@ if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH']) if ($_REQUEST['boot']) $data .= "window.it_boot_init();"; - $data = itjs::strip($data); - - header("Content-Length: " . strlen($data)); - echo $data; + echo itjs::strip($data); } else header("HTTP/1.0 304 Not Modified"); diff --git a/itjs/boot.js b/itjs/boot.js index cd6ab99..66d36f5 100644 --- a/itjs/boot.js +++ b/itjs/boot.js @@ -157,7 +157,7 @@ function it_boot(file, isretry) else if (dom) { var tag = doc.createElement("script"); - tag.src = it_boot_addparam(file, 'boot=1'); + tag.src = it_boot_addparam(file, 'boot=1&retry=1'); dom.appendChild(tag); } else |