diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-10-10 09:41:22 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-10-17 08:40:17 +0300 |
commit | d2ee2eabc2a6b9037e98f3feb9d1534ebda79e19 (patch) | |
tree | c5ed1096ef59229ad610043ff2c5c86db0f91e2c /app/assets/javascripts/pages/users/index.js | |
parent | d87e88a616f370421add5b3d964550e456430432 (diff) |
Prettify app/assets/javascripts/pages
Diffstat (limited to 'app/assets/javascripts/pages/users/index.js')
-rw-r--r-- | app/assets/javascripts/pages/users/index.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/users/index.js b/app/assets/javascripts/pages/users/index.js index 6b1626b0161..a191df00dfa 100644 --- a/app/assets/javascripts/pages/users/index.js +++ b/app/assets/javascripts/pages/users/index.js @@ -13,10 +13,12 @@ function initUserProfile(action) { new UserTabs({ parentEl: '.user-profile', action }); // hide project limit message - $('.hide-project-limit-message').on('click', (e) => { + $('.hide-project-limit-message').on('click', e => { e.preventDefault(); Cookies.set('hide_project_limit_message', 'false'); - $(this).parents('.project-limit-message').remove(); + $(this) + .parents('.project-limit-message') + .remove(); }); } |