Commit dd6660d5 authored by StryKaizer's avatar StryKaizer Committed by StryKaizer

Issue #2724381 by StryKaizer: Port "Show more"/"Show less" functionality from D7

parent 18fb86cc
......@@ -7,7 +7,7 @@
'use strict';
Drupal.facets = {};
Drupal.facets = Drupal.facets || {};
Drupal.behaviors.facetsDropdownWidget = {
attach: function (context, settings) {
Drupal.facets.makeDropdown();
......@@ -59,7 +59,7 @@
$dropdown.prepend($default_option);
// Append dropdown.
$(this).find('.content').html($dropdown);
$(this).html($dropdown);
});
};
......
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