Commit 1a54114f authored by Michael Rose's avatar Michael Rose

search: js: clearX buttons trigger chosen update

parent 7860f1a6
......@@ -57,15 +57,19 @@ window.init = ->
$('#clear_fandoms').click ->
fandoms.val([])
fandoms.trigger('chosen:updated')
$('#clear_crossovers').click ->
crossovers.val([])
crossovers.trigger('chosen:updated')
$('#clear_character_required').click ->
character_required.val([])
character_required.trigger('chosen:updated')
$('#clear_character_optional').click ->
character_optional.val([])
character_optional.trigger('chosen:updated')
$('#advanced_search :checkbox').click ->
updateCheckboxLabel($(this))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment