capturing mousedown instead of click to handle open in other tab
This commit is contained in:
parent
212a6dfeee
commit
20efe06ad5
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
:javascript
|
:javascript
|
||||||
$('.stream_element').live('click', function(evt){
|
$('.stream_element').live('mousedown', function(evt){
|
||||||
var note = $(this).closest('.stream_element'),
|
var note = $(this).closest('.stream_element'),
|
||||||
note_id = note.attr('data-guid'),
|
note_id = note.attr('data-guid'),
|
||||||
nBadge = $("#notification_badge_number");
|
nBadge = $("#notification_badge_number");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue