From 580d4826e935514c997a6feb0cc87a9ccb71fe2a Mon Sep 17 00:00:00 2001 From: Kasen IO Date: Sat, 27 Jun 2020 14:25:15 -0400 Subject: [PATCH] Fix line lengths. --- scripts/communityScripts/chat/FloofChat.html | 30 ++++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/scripts/communityScripts/chat/FloofChat.html b/scripts/communityScripts/chat/FloofChat.html index 3f45651581..7ca04491cb 100644 --- a/scripts/communityScripts/chat/FloofChat.html +++ b/scripts/communityScripts/chat/FloofChat.html @@ -172,13 +172,23 @@ case ext == "JPG": case ext == "GIF": case ext == "JPEG": - elContent = elContent.replace(this, "

" + this + "📲"); + elContent = elContent.replace(this, "

" + this + + "📲"); break; case ext == "iframe": - elContent = elContent.replace(this, "
"); + elContent = elContent.replace(this, "
"); break; case ext == "webm": - elContent = elContent.replace(this, "

" + this + "📲"); + elContent = elContent.replace(this, "

" + this + + "📲"); break; case protocol === "HIFI": case protocol === "hifi": @@ -187,12 +197,22 @@ case !!this.match(/(https?:\/\/)?(www\.)?(youtube\.com\/watch\?v=|youtu\.be\/)([^& \n<]+)(?:[^ \n<]+)?/g): var youtubeMatch = this.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/); if (youtubeMatch && youtubeMatch[2].length == 11) { - elContent = "

" + this + "📲"; + elContent = "

" + this + + "📲"; break; } // else fall through to default default: - elContent = elContent.replace(this, "
" + this + "📲"); + elContent = elContent.replace(this, "
" + this + + "📲"); break; }