debian-mirror-gitlab/app/assets/javascripts/user.js.coffee
2015-12-23 02:04:40 +05:30

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