summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/users
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-02-12 22:24:58 +0100
committerConstance Okoghenun <cokoghenun@gitlab.com>2018-02-12 22:24:58 +0100
commita459d16f9318ba107c853167c3da749b310474aa (patch)
treeb1885519206fb560f44e941e5ff130a93f263488 /app/assets/javascripts/users
parent1d21a63a6af12783ab00306de3741d114bcffbd5 (diff)
downloadgitlab-ce-users-show-dispatcher-refactor.tar.gz
Removed webpack bundle tag and entry for '/javascripts/usersusers-show-dispatcher-refactor
Diffstat (limited to 'app/assets/javascripts/users')
-rw-r--r--app/assets/javascripts/users/index.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/app/assets/javascripts/users/index.js b/app/assets/javascripts/users/index.js
deleted file mode 100644
index 687f4de377c..00000000000
--- a/app/assets/javascripts/users/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import Cookies from 'js-cookie';
-import UserTabs from './user_tabs';
-
-function initUserProfile(action) {
- // place profile avatars to top
- $('.profile-groups-avatars').tooltip({
- placement: 'top',
- });
-
- // eslint-disable-next-line no-new
- new UserTabs({ parentEl: '.user-profile', action });
-
- // hide project limit message
- $('.hide-project-limit-message').on('click', (e) => {
- e.preventDefault();
- Cookies.set('hide_project_limit_message', 'false');
- $(this).parents('.project-limit-message').remove();
- });
-}
-
-export default () => {
- const page = $('body').attr('data-page');
- const action = page.split(':')[1];
- initUserProfile(action);
-};