diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-12-08 23:45:54 +0000 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-12-08 23:45:54 +0000 |
commit | a5c11cc92a277c3af6f9b18b1ffaf6dc5f90f5cc (patch) | |
tree | 3d045ddb4d64471c07b48c1e7e40ca4fc061b764 /plugins/GoogleAnalyticsPlugin.php | |
parent | ce46cce73ef8e1c60888755586919afdf9afee14 (diff) | |
parent | 21757186e9a7ffd2e3330fd4ef61ffeb2dc0229b (diff) |
Merge commit 'origin/0.9.x' into 0.9.x
Diffstat (limited to 'plugins/GoogleAnalyticsPlugin.php')
-rw-r--r-- | plugins/GoogleAnalyticsPlugin.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/GoogleAnalyticsPlugin.php b/plugins/GoogleAnalyticsPlugin.php index 7f3d209ee..6891ee6a7 100644 --- a/plugins/GoogleAnalyticsPlugin.php +++ b/plugins/GoogleAnalyticsPlugin.php @@ -67,11 +67,7 @@ class GoogleAnalyticsPlugin extends Plugin 'pageTracker._trackPageview();'. '} catch(err) {}', $this->code); - $action->elementStart('script', array('type' => 'text/javascript')); - $action->raw($js1); - $action->elementEnd('script'); - $action->elementStart('script', array('type' => 'text/javascript')); - $action->raw($js2); - $action->elementEnd('script'); + $action->inlineScript($js1); + $action->inlineScript($js2); } } |