Permalink
Browse files

cosmetics: print the title first in the html head

  • Loading branch information...
1 parent ff49dcd commit b1fba4354302ebc7f9f2cc93ec66701e1ee3dc09 @feri feri committed Dec 6, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 helpers/head.php
View
@@ -312,6 +312,11 @@ public function add_link(array $attributes, $prepend = false)
*/
public function print_elements()
{
+ if (isset($this->title))
+ {
+ echo (" <title>{$this->title}</title>\n");
+ }
+
if ($this->jquery_enabled)
{
echo $this->jquery_inits;
@@ -324,10 +329,6 @@ public function print_elements()
echo $js_call;
}
}
- if (isset($this->title))
- {
- echo (" <title>{$this->title}</title>\n");
- }
foreach ($this->script_head as $js_call)
{

0 comments on commit b1fba43

Please sign in to comment.