summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-19 11:21:51 -0500
committerEvan Prodromou <evan@status.net>2009-11-19 11:21:51 -0500
commit844a28aa9d29f6a5208948854fbc9af57ec148fd (patch)
tree96dc02ed0d9265058b0fb7856bace74eb2ffc327
parentecc1bd6130a291a46a50a05bcb8992f3f4e9c57a (diff)
put out provider JS correctly
-rw-r--r--plugins/Mapstraction/MapstractionPlugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php
index 2784c7083..4b80ff979 100644
--- a/plugins/Mapstraction/MapstractionPlugin.php
+++ b/plugins/Mapstraction/MapstractionPlugin.php
@@ -144,8 +144,9 @@ class MapstractionPlugin extends Plugin
common_path('plugins/Mapstraction/js/mxn.js'),
$this->provider));
- $action->element('script', array('type' => 'text/javascript'),
- sprintf('var _provider = "%s";', $this->provider));
+ $action->elementStart('script', array('type' => 'text/javascript'));
+ $action->raw(sprintf('var _provider = "%s";', $this->provider));
+ $action->elementEnd('script');
return true;
}