Skip to content

Commit

Permalink
fixed chat message updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rinickolous committed Sep 9, 2022
1 parent 7be22a7 commit 9373e10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions module/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,7 @@ export default function addChatHooks() {
}
} catch (e) { } // a dangerous game... but limited to GURPs /roll OtF
let newContent = gurpslink(c)
let update = { content: newContent }
chatMessage.update(update)
setProperty(chatMessage, "_source.content", newContent);
return true
}
)
Expand Down
3 changes: 2 additions & 1 deletion styles/simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -2046,7 +2046,8 @@ body {

.roll-result .roll-value,
.roll-result .roll-detail {
font-family: var(--fontawesomefamily);
/* font-family: var(--fontawesomefamily); */
font-family: inherit;
}

.roll-result .roll-detail {
Expand Down

0 comments on commit 9373e10

Please sign in to comment.