From: Evan Prodromou Date: Thu, 19 Nov 2009 16:21:51 +0000 (-0500) Subject: put out provider JS correctly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=844a28aa9d29f6a5208948854fbc9af57ec148fd;p=quix0rs-gnu-social.git put out provider JS correctly --- diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php index 2784c7083d..4b80ff979d 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; }