Merge pull request #1118 from GilgusMaximus/development
Fixed large custom emotes in live chats
This commit is contained in:
commit
a91b27a365
|
@ -161,7 +161,7 @@ export default Vue.extend({
|
||||||
comment.messageHtml = comment.messageHtml + text.text
|
comment.messageHtml = comment.messageHtml + text.text
|
||||||
}
|
}
|
||||||
} else if (typeof (text.alt) !== 'undefined') {
|
} else if (typeof (text.alt) !== 'undefined') {
|
||||||
const htmlImg = `<img src="${text.url}" alt="${text.alt}" />`
|
const htmlImg = `<img src="${text.url}" alt="${text.alt}" height="24" width="24" />`
|
||||||
comment.messageHtml = comment.messageHtml + htmlImg
|
comment.messageHtml = comment.messageHtml + htmlImg
|
||||||
} else {
|
} else {
|
||||||
comment.messageHtml = comment.messageHtml + text.text
|
comment.messageHtml = comment.messageHtml + text.text
|
||||||
|
|
Loading…
Reference in New Issue