diff options
author | Luke Bennett <lbennett@gitlab.com> | 2018-12-06 16:33:36 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2018-12-06 16:33:36 +0300 |
commit | 37e51c0615c69c547c3812cbef0afec7c0395dc9 (patch) | |
tree | 9d4e53efcd5a8ae970c16eefa373f03dcc7f8b81 /app/assets/javascripts/pages/projects/clusters | |
parent | c80a74d81b7e2355d04942854a542655867bcc6e (diff) |
Revert "Merge branch 'ce-6983-promote-starting-a-gitlab-com-trial' into 'master'"
This reverts commit 427c1e72194556c9e198659dfff92cb42b31fb62, reversing
changes made to 5aac64a79527afef9ff6b4b1db52a9c01c5d6af6.
Diffstat (limited to 'app/assets/javascripts/pages/projects/clusters')
-rw-r--r-- | app/assets/javascripts/pages/projects/clusters/index/index.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/javascripts/pages/projects/clusters/index/index.js b/app/assets/javascripts/pages/projects/clusters/index/index.js index 21efc4f6d00..845a5f7042c 100644 --- a/app/assets/javascripts/pages/projects/clusters/index/index.js +++ b/app/assets/javascripts/pages/projects/clusters/index/index.js @@ -1,7 +1,5 @@ -import PersistentUserCallout from '~/persistent_user_callout'; +import initDismissableCallout from '~/dismissable_callout'; document.addEventListener('DOMContentLoaded', () => { - const callout = document.querySelector('.gcp-signup-offer'); - - if (callout) new PersistentUserCallout(callout); // eslint-disable-line no-new + initDismissableCallout('.gcp-signup-offer'); }); |