aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index d9f2c226a..f01c5142d 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -80,7 +80,7 @@ $(function(){
var cobrand = $('meta[name="cobrand"]').attr('content');
- if (typeof variation !== undefined && variation === 1) {
+ if (typeof variation !== 'undefined' && variation === 1) {
$('input[name=variant]').val(1);
}
@@ -135,7 +135,7 @@ $(function(){
if (cobrand !== 'oxfordshire') {
$('#site-header').show();
}
- if (typeof variation !== undefined && variation === 1) {
+ if (typeof variation !== 'undefined' && variation === 1) {
banner_text = 'Click map to request a fix';
}
$('.big-green-banner')