From 958ceb9375db9f131d28dc3a529a6c95accac304 Mon Sep 17 00:00:00 2001 From: Jules Date: Sun, 31 Dec 2017 04:48:07 -0500 Subject: avatar stuff, not usre if ti works --- frontend/static/js/avatar.js | 6 +++--- frontend/static/js/src/chat.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend/static/js') diff --git a/frontend/static/js/avatar.js b/frontend/static/js/avatar.js index a175bb2..3caab25 100755 --- a/frontend/static/js/avatar.js +++ b/frontend/static/js/avatar.js @@ -86,8 +86,8 @@ Chat.say = function () // $("#chat").append(newdiv) // if (newdiv.indexOf("'+txt+' ' } - else if (word.replace("https", "http").indexOf("youtu.be") !== -1) + else if (word.indexOf("youtu.be") !== -1) { var ytid = "youtube_"+word.substr(16,11) var txt -- cgit v1.2.3-70-g09d2