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/index.js | |
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/index.js')
-rw-r--r-- | app/assets/javascripts/pages/projects/index.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/javascripts/pages/projects/index.js b/app/assets/javascripts/pages/projects/index.js index b0345b4e50d..5659e13981a 100644 --- a/app/assets/javascripts/pages/projects/index.js +++ b/app/assets/javascripts/pages/projects/index.js @@ -1,5 +1,5 @@ +import initDismissableCallout from '~/dismissable_callout'; import initGkeDropdowns from '~/projects/gke_cluster_dropdowns'; -import PersistentUserCallout from '../../persistent_user_callout'; import Project from './project'; import ShortcutsNavigation from '../../behaviors/shortcuts/shortcuts_navigation'; @@ -12,9 +12,7 @@ document.addEventListener('DOMContentLoaded', () => { ]; if (newClusterViews.indexOf(page) > -1) { - const callout = document.querySelector('.gcp-signup-offer'); - if (callout) new PersistentUserCallout(callout); // eslint-disable-line no-new - + initDismissableCallout('.gcp-signup-offer'); initGkeDropdowns(); } |