diff options
author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-26 19:37:08 +0300 |
---|---|---|
committer | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-26 19:37:08 +0300 |
commit | de0aff845f47e5a8d34789c4dfc4c33586ae73dd (patch) | |
tree | 5f96b3349709f02699dbacb604c1d53edb6038b6 /app | |
parent | bee125e6aa71b86e7a8ce62e06ceaa5027e65563 (diff) |
Removed check for profile page
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/pages/profiles/index.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/pages/profiles/index.js b/app/assets/javascripts/pages/profiles/index.js index c437cd90130..c52ad7bc335 100644 --- a/app/assets/javascripts/pages/profiles/index.js +++ b/app/assets/javascripts/pages/profiles/index.js @@ -1,6 +1,5 @@ import '~/profile/gl_crop'; import Profile from '~/profile/profile'; -import { getPagePath } from '~/lib/utils/common_utils'; document.addEventListener('DOMContentLoaded', () => { $(document).on('input.ssh_key', '#key_key', function () { // eslint-disable-line func-names @@ -13,7 +12,5 @@ document.addEventListener('DOMContentLoaded', () => { } }); - if (getPagePath() === 'profiles') { - new Profile(); // eslint-disable-line no-new - } + new Profile(); // eslint-disable-line no-new }); |