diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-24 21:10:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-24 21:10:19 +0300 |
commit | 9b14160725d91f8824b35223f16bf073a97bf7de (patch) | |
tree | 121f5165f80d2c921b4135566b3c9e620531434d /app/assets/javascripts/subscription_select.js | |
parent | 27622f7417713cbd2057a7f642e9ce128d9fc169 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/subscription_select.js')
-rw-r--r-- | app/assets/javascripts/subscription_select.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/subscription_select.js b/app/assets/javascripts/subscription_select.js index 7206bbd7109..354ee00a977 100644 --- a/app/assets/javascripts/subscription_select.js +++ b/app/assets/javascripts/subscription_select.js @@ -1,11 +1,12 @@ import $ from 'jquery'; import { __ } from './locale'; +import initDeprecatedJQueryDropdown from '~/deprecated_jquery_dropdown'; export default function subscriptionSelect() { $('.js-subscription-event').each((i, element) => { const fieldName = $(element).data('fieldName'); - return $(element).glDropdown({ + return initDeprecatedJQueryDropdown($(element), { selectable: true, fieldName, toggleLabel(selected, el, instance) { |