diff options
author | Pixpoa pairing <pixpoapairing@pixelated-project.org> | 2015-01-30 14:10:25 -0200 |
---|---|---|
committer | Pixpoa pairing <pixpoapairing@pixelated-project.org> | 2015-01-30 14:10:25 -0200 |
commit | fb7f661648480b16d75a6147605767720be26d00 (patch) | |
tree | 55d3d110846f329ee7eaa904ab92ce9792112c90 /web-ui/app/js/mail_list/ui/mail_items/generic_mail_item.js | |
parent | e8e9cbaaa713a1f00ed8d00cb4744d8f4f340f38 (diff) | |
parent | cad4bbf073663db828fa7ac43b27ae00556e2797 (diff) |
Merge branch 'message_sending_error_handling'
Diffstat (limited to 'web-ui/app/js/mail_list/ui/mail_items/generic_mail_item.js')
-rw-r--r-- | web-ui/app/js/mail_list/ui/mail_items/generic_mail_item.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web-ui/app/js/mail_list/ui/mail_items/generic_mail_item.js b/web-ui/app/js/mail_list/ui/mail_items/generic_mail_item.js index 3931ffd8..b700eeeb 100644 --- a/web-ui/app/js/mail_list/ui/mail_items/generic_mail_item.js +++ b/web-ui/app/js/mail_list/ui/mail_items/generic_mail_item.js @@ -33,12 +33,8 @@ define( READ: 'read' }; - function isOpeningOnANewTab(ev) { - return ev.metaKey || ev.ctrlKey || ev.which === 2; - } - this.triggerOpenMail = function (ev) { - if (isOpeningOnANewTab(ev)) { + if (this.isOpeningOnANewTab(ev)) { updateMailStatusToRead.call(this); return; } |