aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-08-15 11:43:10 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-08-16 17:31:07 +0100
commit945ce43e9e5c3d872d3b22219e2c3b9d03ab4cfd (patch)
treefacb8affb9f19c8581873fb9573ad4998d4e6f7a /web/js/map-OpenLayers.js
parentfa6b57a3664bc6a23b09d60a0abcaa75b170f8f9 (diff)
Do HTML class and JS variable setting ASAP.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 992037a2f..f110dec26 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -744,7 +744,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
var lonlat = fixmystreet.map.getLonLatFromViewPortPx(e.xy);
fixmystreet.display.begin_report(lonlat);
- if ( typeof ga !== 'undefined' && window.cobrand == 'fixmystreet' ) {
+ if ( typeof ga !== 'undefined' && fixmystreet.cobrand == 'fixmystreet' ) {
ga('send', 'pageview', { 'page': '/map_click' } );
}
}