From 41c83a7e19baed48584c7686681a89f74643fbd8 Mon Sep 17 00:00:00 2001 From: zhitomirskiyi Date: Tue, 18 Jan 2011 10:50:39 -0800 Subject: [PATCH] mousedown so that new tab opening would make notification go down --- app/views/notifications/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notifications/index.html.haml b/app/views/notifications/index.html.haml index 0fb247530..22e596aa5 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -9,7 +9,7 @@ }); }); - $('.stream_element').live('click', function(evt){ + $('.stream_element').live('mousedown', function(evt){ var note = $(this).closest('.stream_element'), note_id = note.attr('data-guid'), nBadge = $("#notification_badge_number");