gitlab-org--gitlab-foss/app/assets/javascripts/user.js.coffee
2015-12-05 11:32:08 -05:00

10 lines
337 B
CoffeeScript

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()