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
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-02-17 20:28:52 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2017-02-24 00:47:23 +0300
commitbcab4bb5efd1cc499dc7d753115fe91b98f27bda (patch)
tree712923e168785037162b4c96fe6c9705db84fa4c /app/views/users
parent19a21107d7f4a256271306ae10bb376dfbc8bbad (diff)
Changed the javascript class from using the global scope to exporting it via webpack
Also improved accesibility and change the id from user_callouts to a class
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/show.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index bee65875a99..d89001efb07 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -129,11 +129,8 @@
= spinner
:javascript
- var userProfile, userCallout;
+ var userProfile;
userProfile = new gl.User({
action: "#{controller.action_name}"
});
-
- userCallout = new gl.UserCallout();
-