diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-15 11:43:10 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-16 17:31:07 +0100 |
commit | 945ce43e9e5c3d872d3b22219e2c3b9d03ab4cfd (patch) | |
tree | facb8affb9f19c8581873fb9573ad4998d4e6f7a /web/js | |
parent | fa6b57a3664bc6a23b09d60a0abcaa75b170f8f9 (diff) |
Do HTML class and JS variable setting ASAP.
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
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' } ); } } |