diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 03:09:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-19 03:09:27 +0300 |
commit | dcd01617a750c41fd082cc3383fc7ad2f2afd026 (patch) | |
tree | b0b688f8243ba577dc7fc29210a34e77fb54f64d /app/assets/javascripts/service_ping_consent.js | |
parent | 75d101a1c2684059ea22cea9f00ca74d2db78b38 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/service_ping_consent.js')
-rw-r--r-- | app/assets/javascripts/service_ping_consent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/service_ping_consent.js b/app/assets/javascripts/service_ping_consent.js index f2c3f28cefa..654263ba27b 100644 --- a/app/assets/javascripts/service_ping_consent.js +++ b/app/assets/javascripts/service_ping_consent.js @@ -1,5 +1,5 @@ import $ from 'jquery'; -import { createAlert, hideFlash } from './flash'; +import { createAlert } from './flash'; import axios from './lib/utils/axios_utils'; import { parseBoolean } from './lib/utils/common_utils'; import { __ } from './locale'; @@ -18,7 +18,7 @@ export default () => { }; const hideConsentMessage = () => - hideFlash(document.querySelector('.service-ping-consent-message')); + document.querySelector('.service-ping-consent-message .js-close')?.click(); axios .put(url, data) |