debian-mirror-gitlab/app/assets/javascripts/user.js.coffee

11 lines
337 B
CoffeeScript
Raw Normal View History

2015-04-26 12:48:37 +05:30
class @User
constructor: ->
$('.profile-groups-avatars').tooltip("placement": "top")
new ProjectsList()
2015-12-23 02:04:40 +05:30
$('.hide-project-limit-message').on 'click', (e) ->
path = '/'
$.cookie('hide_project_limit_message', 'false', { path: path })
$(@).parents('.project-limit-message').remove()
e.preventDefault()