mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
guilds: bug fix on _tavern => _habitRPG
This commit is contained in:
parent
9dfdb52c98
commit
e32ee04baa
2 changed files with 3 additions and 3 deletions
|
|
@ -116,14 +116,14 @@ module.exports.app = (appExports, model, app) ->
|
|||
chat.remove(200)
|
||||
|
||||
model.on 'unshift', '_party.chat', -> $('.chat-message').tooltip()
|
||||
model.on 'unshift', '_tavern.chat.messages', -> $('.chat-message').tooltip()
|
||||
model.on 'unshift', '_habitrpg.chat', -> $('.chat-message').tooltip()
|
||||
|
||||
appExports.partySendChat = ->
|
||||
sendChat('_party.chat', '_chatMessage')
|
||||
model.set '_user.party.lastMessageSeen', model.get('_party.chat')[0].id
|
||||
|
||||
appExports.tavernSendChat = ->
|
||||
sendChat('_tavern.chat.messages', '_tavernMessage')
|
||||
sendChat('_habitRPG.chat', '_tavernMessage')
|
||||
|
||||
appExports.partyMessageKeyup = (e, el, next) ->
|
||||
return next() unless e.keyCode is 13
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@
|
|||
</div>
|
||||
|
||||
<ul class='unstyled tavern-chat'>
|
||||
{#each _tavern.chat.messages as :message}
|
||||
{#each _habitRPG.chat as :message}
|
||||
<app:groups:chat-message message={{:message}} />
|
||||
{/}
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in a new issue