flags are clickable

This commit is contained in:
Didier Lafforgue 2012-02-07 11:59:55 +01:00
parent 219f6e1339
commit b4afec5fd3

View File

@ -79,7 +79,7 @@ class Locomotive.Views.ApplicationView extends Backbone.View
event.stopPropagation() & event.preventDefault()
picker.toggle()
picker.find('li span.text').bind 'click', (event) ->
picker.find('li').bind 'click', (event) ->
locale = $(event.target).html()
window.addParameterToURL 'content_locale', locale