summaryrefslogtreecommitdiffstats
path: root/webapp/components/youtube_video.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-05-12 07:50:53 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-05-12 07:50:53 -0400
commit4b260b761a78ea1a0dd6b02df7d25e93b496b6ff (patch)
treef82ff05a4692a52807260df326b9b12698ebf7f2 /webapp/components/youtube_video.jsx
parenta3cfdf04836bb5cef2c34626c07ce04349178792 (diff)
downloadchat-4b260b761a78ea1a0dd6b02df7d25e93b496b6ff.tar.gz
chat-4b260b761a78ea1a0dd6b02df7d25e93b496b6ff.tar.bz2
chat-4b260b761a78ea1a0dd6b02df7d25e93b496b6ff.zip
Updating client dependancies and ESLint (#2954)
* Updating client dependancies * Fixing eslint errors with updates * Updating eslint
Diffstat (limited to 'webapp/components/youtube_video.jsx')
-rw-r--r--webapp/components/youtube_video.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/youtube_video.jsx b/webapp/components/youtube_video.jsx
index 6083fd8a1..f96504e88 100644
--- a/webapp/components/youtube_video.jsx
+++ b/webapp/components/youtube_video.jsx
@@ -4,7 +4,7 @@
import $ from 'jquery';
import ChannelStore from 'stores/channel_store.jsx';
-const ytRegex = /(?:http|https):\/\/(?:www\.)?(?:(?:youtube\.com\/(?:(?:v\/)|(\/u\/\w\/)|(?:(?:watch|embed\/watch)(?:\/|.*v=))|(?:embed\/)|(?:user\/[^\/]+\/u\/[0-9]\/)))|(?:youtu\.be\/))([^#\&\?]*)/;
+const ytRegex = /(?:http|https):\/\/(?:www\.)?(?:(?:youtube\.com\/(?:(?:v\/)|(\/u\/\w\/)|(?:(?:watch|embed\/watch)(?:\/|.*v=))|(?:embed\/)|(?:user\/[^\/]+\/u\/[0-9]\/)))|(?:youtu\.be\/))([^#&\?]*)/;
import React from 'react';
import {Link} from 'react-router';