The select2 tags is now correctly link to related label

This commit is contained in:
echarp 2014-12-14 21:45:41 +01:00
parent ad023d367f
commit f70d2ae5ef

View File

@ -15,3 +15,6 @@ $(document).ready ->
$('#event_end_time').change ->
if $('#event_start_time').val() >= $('#event_end_time').val()
$('#event_start_time').val($('#event_end_time').val())
# Manage the tags label so it points the proper select2 input
$('label[for=event_tags]').attr 'for', 's2id_autogen1'