jQuery(document).ready(function($) {
  $(".chzn-select").chosen({allow_single_deselect: true});

  $("#completed_fact_check_requests").markLinkedAnchor();

  $('fieldset.sortable legend').each(function () {
    $(this).append(' (drag up and down to re-order)');
  })
})
jQuery(document).ready(function($) {
  $(".chzn-select").chosen({allow_single_deselect: true, search_contains: true});

  $("#completed_fact_check_requests").markLinkedAnchor();

  $('fieldset.sortable legend').each(function () {
    $(this).append(' (drag up and down to re-order)');
  })
})
Configure chosen.js to allow search for multiple words.
Configure chosen.js to allow search for multiple words.

Previously if you typed "foo bar", this would find "foo bar baz", but
not "baz foo bar". This should now be fixed. See [1] for more details.

[1] https://github.com/harvesthq/chosen/issues/573
