summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorRegis <boudinot.regis@yahoo.com>2016-09-01 14:51:53 -0600
committerRegis <boudinot.regis@yahoo.com>2016-09-01 14:51:53 -0600
commitf43a0470bd52132c2853582c51637a736dcce5e8 (patch)
treebff48fc0a623a92f60e1a4f10e71c9af90b73b3f /app/assets/javascripts
parentee419bf48b16b91b2a47f877f169fbf531f8ae11 (diff)
downloadgitlab-ce-f43a0470bd52132c2853582c51637a736dcce5e8.tar.gz
removed null return - renamed 'placeTop' to 'placeProfileAvatarsToTop'
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/user.js.es65
1 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/javascripts/user.js.es6 b/app/assets/javascripts/user.js.es6
index 833f35df59b..6889d3a7491 100644
--- a/app/assets/javascripts/user.js.es6
+++ b/app/assets/javascripts/user.js.es6
@@ -2,12 +2,12 @@
global.User = class {
constructor(opts) {
this.opts = opts;
- this.placeTop();
+ this.placeProfileAvatarsToTop();
this.initTabs();
this.hideProjectLimitMessage();
}
- placeTop() {
+ placeProfileAvatarsToTop() {
$('.profile-groups-avatars').tooltip({
placement: 'top'
});
@@ -28,7 +28,6 @@
path: path
});
$(this).parents('.project-limit-message').remove();
- return;
});
}
}