From 20efe06ad55f2e06df816862c4f98de357d9186f Mon Sep 17 00:00:00 2001 From: zhitomirskiyi Date: Sat, 1 Jan 2011 21:14:36 -0800 Subject: [PATCH] capturing mousedown instead of click to handle open in other tab --- 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 b1173fc69..f4099a2d1 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -1,5 +1,5 @@ :javascript - $('.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");