From c86cf9442d11bcca073a311838a8910c9db4743d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 16 Oct 2012 12:09:09 +0200 Subject: [PATCH] Remove href from userMenu --- file/js/be.bastelstu.WCF.Chat.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/file/js/be.bastelstu.WCF.Chat.coffee b/file/js/be.bastelstu.WCF.Chat.coffee index f115b09..874a905 100644 --- a/file/js/be.bastelstu.WCF.Chat.coffee +++ b/file/js/be.bastelstu.WCF.Chat.coffee @@ -370,7 +370,7 @@ window.console ?= li.attr 'title', user.awayStatus li.data 'username', user.username - a = $ '' + WCF.String.escapeHTML(user.username) + '' + a = $ '' + WCF.String.escapeHTML(user.username) + '' a.addClass 'userLink' a.data 'userID', user.userID @@ -382,9 +382,9 @@ window.console ?= menu = $ '' menu.addClass 'timsChatUserMenu' - menu.append $ '
  • ' + WCF.Language.get('wcf.chat.query') + '
  • ' - menu.append $ '
  • ' + WCF.Language.get('wcf.chat.kick') + '
  • ' - menu.append $ '
  • ' + WCF.Language.get('wcf.chat.ban') + '
  • ' + menu.append $ '
  • ' + WCF.Language.get('wcf.chat.query') + '
  • ' + menu.append $ '
  • ' + WCF.Language.get('wcf.chat.kick') + '
  • ' + menu.append $ '
  • ' + WCF.Language.get('wcf.chat.ban') + '
  • ' menu.append $ '
  • ' + WCF.Language.get('wcf.chat.profile') + '
  • ' @events.userMenu.fire user, menu li.append menu