forked from GNUsocial/gnu-social
put out provider JS correctly
This commit is contained in:
parent
ecc1bd6130
commit
844a28aa9d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user