From 194c6121a301c2a85cb1e380a82ad745701e2eb9 Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Tue, 22 Jun 2010 00:43:32 -0400 Subject: Fix click for youtube thumbs --- static/js/pichat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/js/pichat.js') diff --git a/static/js/pichat.js b/static/js/pichat.js index 5a7f956..da475f0 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -1071,7 +1071,7 @@ function initChatMsgs() { $('.content').live('click', function(e) { var tagName = e.target.tagName; - if (tagName == 'A') { + if (tagName == 'A' || $(e.target).hasClass('youtube-thumb')) { return true; } var msg = $(this).parent('.msgDiv'); -- cgit v1.2.3-70-g09d2