aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-03-18 13:20:31 +0000
committerMatthew Somerville <matthew@mysociety.org>2016-03-18 14:35:18 +0000
commit4210219bed15cbd76c9e351db160f1d0188f78f8 (patch)
tree7fd25aed05cd217981d8b39b0fcf0f98cbf66d0a /templates
parent49a40e377bf126e059022f652ecef9d18db80835 (diff)
[fixmystreet.com] Some fixes to A/B edge cases.
Better contrast; don't show on /about/council.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/fixmystreet.com/header_extra.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/fixmystreet.com/header_extra.html b/templates/web/fixmystreet.com/header_extra.html
index f65121445..e05bc31d2 100644
--- a/templates/web/fixmystreet.com/header_extra.html
+++ b/templates/web/fixmystreet.com/header_extra.html
@@ -9,7 +9,9 @@
var variation = cxApi.chooseVariation(),
docElement = document.documentElement,
className = docElement.className;
-docElement.className = className + ' variant' + variation;
+if (!/about\/council/.test(location.pathname)) {
+ docElement.className = className + ' variant' + variation;
+}
</script>
<style>
html .variant1 { display: none !important; }