                     $li.removeClass 'selected'
                 $button.attr 'aria-pressed', activated
 
-        switchPersonalisation: (ev) ->
+        switchPersonalisation: (ev) =>
             ev.preventDefault()
             parentLi = $(ev.target).closest 'li'
             group = parentLi.data 'group'

                        p13n.setMapBackgroundLayer newBackground
            else if group == 'city'
                p13n.toggleCity type

        render: (opts) ->
            super opts

                'rollator'
                'stroller'
            ]
        urls:
            fi: 'http://palvelukartta.hel.fi'
            sv: 'http://servicekarta.hel.fi'
            en: 'http://servicemap.hel.fi'

        initialize: ->
            $(window).resize @setMaxHeight
