Merge pull request #1118 from GilgusMaximus/development

Fixed large custom emotes in live chats
This commit is contained in:
Luca Hohmann 2021-03-16 11:39:33 +01:00 committed by GitHub
commit a91b27a365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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