mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Adding .userLink to users
This commit is contained in:
parent
ec8eba6986
commit
65430ac26e
@ -369,6 +369,9 @@ window.console ?=
|
||||
li.attr 'title', user.awayStatus
|
||||
li.data 'username', user.username
|
||||
a = $ '<a href="javascript:;">' + WCF.String.escapeHTML(user.username) + '</a>'
|
||||
a.addClass 'userLink'
|
||||
a.data 'userID', user.userID
|
||||
|
||||
a.click $.proxy (event) ->
|
||||
event.preventDefault()
|
||||
@toggleUserMenu $ event.target
|
||||
|
Loading…
Reference in New Issue
Block a user