diff --git a/js/dropdown-widget.js b/js/dropdown-widget.js index 9f75dee..8b4e71b 100644 --- a/js/dropdown-widget.js +++ b/js/dropdown-widget.js @@ -7,7 +7,6 @@ 'use strict'; - Drupal.facets = {}; Drupal.behaviors.facetsDropdownWidget = { attach: function (context, settings) { @@ -16,7 +15,7 @@ }; /** - * Turns all facet links into options. + * Turns all facet links into a dropdown with options for every link. */ Drupal.facets.makeDropdown = function () { // Find all dropdown facet links and turn them into an option. @@ -27,7 +26,7 @@ // Add empty text option first. var default_option_label = $(this).data('facet-default-option-label'); var $default_option = $('