# HG changeset patch # User Dan # Date 1247107486 14400 # Node ID d996bb6d6e74e291e1b0c0c1a93ff34db1935d01 # Parent cfc6c30c5e2dd1153d326125d2d48352279e8c99 Fixed inconsistency in JS component load order between CDN sites and non-CDN sites diff -r cfc6c30c5e2d -r d996bb6d6e74 includes/template.php --- a/includes/template.php Wed Jul 08 22:27:24 2009 -0400 +++ b/includes/template.php Wed Jul 08 22:44:46 2009 -0400 @@ -549,7 +549,7 @@ { // we're on a CDN, point to static includes // CLI javascript compression script: includes/clientside/jscompress.php - $js_head = ''; + $js_head = ''; if ( !empty($this->js_preload) ) { @@ -582,6 +582,8 @@ "; } + $js_head .= ''; + $js_foot = << // This initializes the Javascript runtime when the DOM is ready - not when the page is