diff options
| author | sostler <sbostler@gmail.com> | 2010-04-14 09:15:15 -0400 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2010-04-14 09:15:15 -0400 |
| commit | 486946cd5fd8eda8824f1752101fb010c31396d9 (patch) | |
| tree | 47bea781c6fc107b55eb0295342442dcb8d53d1b /static/js/pichat.js | |
| parent | f8e7c8cde1bde9dfac0a8245ba9b6e6d37e9d7b0 (diff) | |
| parent | c479038b4431c101d6b00918c9ee16d3ef3fa0c8 (diff) | |
Merge branch 'master' of ssh://dump.fm/pichat/repo
Diffstat (limited to 'static/js/pichat.js')
| -rw-r--r-- | static/js/pichat.js | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |
