flags are clickable

This commit is contained in:
Didier Lafforgue 2012-02-07 11:59:55 +01:00
parent 219f6e1339
commit b4afec5fd3
1 changed files with 1 additions and 1 deletions

View File

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