After an update of October cms to version 2.2.15 the addJs method seems to ignore the added parameters. The documentation says:
public void addJs($name, $attributes=array())
Is this attributes argument for adding parameters?
I have this code here:
The outcome then looks like this:
Unfortunately, there aren’t any parameters added here. What can I do better?
UPDATE: The $params by the way is an array. It is build like that:
$params = [ 'site-key' => (isset($multicaptcha['site_key'])) ? $multicaptcha['site_key'] : '', 'locale' => $locale ];