gitlab-org--gitlab-foss/app/assets/javascripts/user.js.coffee

11 lines
337 B
CoffeeScript
Raw Normal View History

class @User
constructor: ->
$('.profile-groups-avatars').tooltip("placement": "top")
new ProjectsList()
$('.hide-project-limit-message').on 'click', (e) ->
path = '/'
$.cookie('hide_project_limit_message', 'false', { path: path })
$(@).parents('.project-limit-message').remove()
e.preventDefault()