Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-02-26 19:37:08 +0300
committerConstance Okoghenun <cokoghenun@gitlab.com>2018-02-26 19:37:08 +0300
commitde0aff845f47e5a8d34789c4dfc4c33586ae73dd (patch)
tree5f96b3349709f02699dbacb604c1d53edb6038b6 /app
parentbee125e6aa71b86e7a8ce62e06ceaa5027e65563 (diff)
Removed check for profile page
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/pages/profiles/index.js5
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
});