diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/common_header_tags.html | 2 | ||||
-rw-r--r-- | templates/web/base/common_scripts.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/common_header_tags.html b/templates/web/base/common_header_tags.html index 21081246d..e29d96655 100644 --- a/templates/web/base/common_header_tags.html +++ b/templates/web/base/common_header_tags.html @@ -38,7 +38,7 @@ <link rel="prefetch" href="[% version('/cobrands/fixmystreet/fixmystreet.js') %]"> [% END %] [% IF NOT 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')) %] <link rel="prefetch" href="[% IF script.match('^/'); version(script); ELSE; script; END %]"> [% END %] <link rel="prefetch" href="[% version('/cobrands/fixmystreet/map.js') %]"> 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; |