diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-03-05 15:59:52 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-03-05 15:59:52 -0800 |
commit | bda14f29eac2c7471d4e5e554493dd21728199e2 (patch) | |
tree | e9cb36c016ad71bce38e6db8bf587b66e808d656 | |
parent | 7e569a21e35ad2461709c5487d37d5a2824cca3d (diff) |
Put external CSS before external JS, per:
http://code.google.com/speed/page-speed/docs/rtt.html#PutStylesBeforeScripts
ref:
http://gallery.menalto.com/node/100693
Thanks Serge!
Fixes #1633.
-rw-r--r-- | themes/admin_wind/views/admin.html.php | 6 | ||||
-rw-r--r-- | themes/wind/views/page.html.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index 9e011c69..a56b6f41 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -41,11 +41,11 @@ media="screen,print,projection" /> <![endif]--> - <!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below --> - <?= $theme->get_combined("script") ?> - <!-- LOOKING FOR YOUR CSS? It's all been combined into the link below --> <?= $theme->get_combined("css") ?> + + <!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below --> + <?= $theme->get_combined("script") ?> </head> <body <?= $theme->body_attributes() ?>> diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 0e5bdf6b..2b86556d 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -71,11 +71,11 @@ media="screen,print,projection" /> <![endif]--> - <!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below --> - <?= $theme->get_combined("script") ?> - <!-- LOOKING FOR YOUR CSS? It's all been combined into the link below --> <?= $theme->get_combined("css") ?> + + <!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below --> + <?= $theme->get_combined("script") ?> </head> <body <?= $theme->body_attributes() ?>> |