aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/common_scripts.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-02-01 16:07:21 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-02-01 16:07:21 +0000
commit3be4376d8e14efb52bd4f1a0e48ceca52f8a7caf (patch)
tree317f496a4b5e3a4824ffa249289144643dfa4125 /templates/web/base/common_scripts.html
parent5e946a60ac98c984ca21ba3203ccb03be17d9a39 (diff)
No need to pass c to cobrand function.
Diffstat (limited to 'templates/web/base/common_scripts.html')
-rw-r--r--templates/web/base/common_scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html
index ac66aad46..fd7011763 100644
--- a/templates/web/base/common_scripts.html
+++ b/templates/web/base/common_scripts.html
@@ -47,7 +47,7 @@ IF c.user_exists AND (c.user.from_body OR c.user.is_superuser);
END;
IF bodyclass.match('mappage');
- FOR script IN map_js.merge(c.cobrand.call_hook('map_js_extra', c));
+ FOR script IN map_js.merge(c.cobrand.call_hook('map_js_extra'));
IF script.match('^/');
scripts.push(version(script));
ELSE;