diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-08-05 20:15:00 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-08-05 20:15:00 -0400 |
commit | 5ba33836654e7e09098880fe9e6e9d3593f23b40 (patch) | |
tree | a9d52922735fe5c87e16b88bdde3c998b65f40ae /plugins/FBConnect/FBConnectPlugin.php | |
parent | 9a9195ecd8eea36943dbb5e46adf685aef9edc4e (diff) |
Use script() to write out javascript <script> tags
Diffstat (limited to 'plugins/FBConnect/FBConnectPlugin.php')
-rw-r--r-- | plugins/FBConnect/FBConnectPlugin.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php index 2fb10a675..9aa96c59d 100644 --- a/plugins/FBConnect/FBConnectPlugin.php +++ b/plugins/FBConnect/FBConnectPlugin.php @@ -144,11 +144,7 @@ class FBConnectPlugin extends Plugin function onEndShowFooter($action) { if ($this->reqFbScripts($action)) { - - $action->element('script', - array('type' => 'text/javascript', - 'src' => 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php'), - ''); + $action->script('http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php'); } } |