From c479038b4431c101d6b00918c9ee16d3ef3fa0c8 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Wed, 14 Apr 2010 09:13:03 -0400 Subject: sostler prod --- static/js/pichat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/js') diff --git a/static/js/pichat.js b/static/js/pichat.js index d7728cc..97379ef 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -135,7 +135,7 @@ function getUriType(uri){ if (PicRegex.test(uri.file.toLowerCase())) return "image"; - if (parseDomain(uri.host) == "youtube.com" && 'v' in uri.queryKey) + if (parseDomain(uri.host) == "youtube.com" && 'v' in uri.queryKey || uri.anchor.indexOf('v') != -1) return "youtube"; return "link"; -- cgit v1.2.3-70-g09d2