Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2018-12-06 16:41:20 +0300
committerMichael Kozono <mkozono@gmail.com>2019-01-03 21:39:36 +0300
commit5f110a6acff7571126c22013923d3f5d2aab770d (patch)
treea60fdc9812d72f942ca85698517c0b967f1c09fa /app/assets/javascripts/pages/groups/clusters
parent24665ccbe13134bf8379dc68ddfbe80f6c035808 (diff)
Port GitLab.com gold trial callout changes to CE
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8731
Diffstat (limited to 'app/assets/javascripts/pages/groups/clusters')
-rw-r--r--app/assets/javascripts/pages/groups/clusters/index/index.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/groups/clusters/index/index.js b/app/assets/javascripts/pages/groups/clusters/index/index.js
index 845a5f7042c..21efc4f6d00 100644
--- a/app/assets/javascripts/pages/groups/clusters/index/index.js
+++ b/app/assets/javascripts/pages/groups/clusters/index/index.js
@@ -1,5 +1,7 @@
-import initDismissableCallout from '~/dismissable_callout';
+import PersistentUserCallout from '~/persistent_user_callout';
document.addEventListener('DOMContentLoaded', () => {
- initDismissableCallout('.gcp-signup-offer');
+ const callout = document.querySelector('.gcp-signup-offer');
+
+ if (callout) new PersistentUserCallout(callout); // eslint-disable-line no-new
});