diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-17 20:28:52 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-24 00:47:23 +0300 |
commit | bcab4bb5efd1cc499dc7d753115fe91b98f27bda (patch) | |
tree | 712923e168785037162b4c96fe6c9705db84fa4c /app/views/users | |
parent | 19a21107d7f4a256271306ae10bb376dfbc8bbad (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.haml | 5 |
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(); - |