import './common'
let location = require('./location/locationSelector')
const templating = require('./template-render')
const browser = require('./browser')
const socialShare = require('./social-share')

location
  .getCurrent()
  .then((result) => {
    let theData = {
      isManchester: result.id === 'manchester',
      isLeeds: result.id === 'leeds',
      locations: location.getViewModel(result)
    }
    var callback = function () {
      browser.loaded()
      socialShare.init()
    }

    templating.renderTemplate('js-content-tpl', theData, 'js-template-output', callback)
  })

@@ -436,16 +436,130 @@
 on () %7B%0A
+      location.handler(() =%3E %7B%0A        window.location.reload()%0A      %7D, '.js-homepage-promo-location-selector')%0A%0A
       br

Revert "got rid of redundant city selector on home page js"