summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/user.js')
-rw-r--r--app/assets/javascripts/user.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js
index 3ab9ef5408e..9ef94ac7616 100644
--- a/app/assets/javascripts/user.js
+++ b/app/assets/javascripts/user.js
@@ -1,6 +1,7 @@
/* eslint-disable class-methods-use-this, comma-dangle, arrow-parens, no-param-reassign */
import Cookies from 'js-cookie';
+import UserTabs from './user_tabs';
class User {
constructor({ action }) {
@@ -17,7 +18,7 @@ class User {
}
initTabs() {
- return new window.gl.UserTabs({
+ return new UserTabs({
parentEl: '.user-profile',
action: this.action
});