diff options
author | Alexandre Pretto Nunes <anunes@thoughtworks.com> | 2014-08-12 19:11:07 -0300 |
---|---|---|
committer | Alexandre Pretto Nunes <anunes@thoughtworks.com> | 2014-08-12 19:11:51 -0300 |
commit | b73d55cd1d13ba8bfb7121a2049d18e329077818 (patch) | |
tree | 96259981b3ea3813c02263489a0f3d6b90c171b4 /web-ui | |
parent | 55041fb165745ee34b14277dbfd694c11f0b7be9 (diff) |
Remove unnecessary 'document' parameter
Diffstat (limited to 'web-ui')
-rw-r--r-- | web-ui/app/js/services/mail_service.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web-ui/app/js/services/mail_service.js b/web-ui/app/js/services/mail_service.js index dab72c6f..9f8933a9 100644 --- a/web-ui/app/js/services/mail_service.js +++ b/web-ui/app/js/services/mail_service.js @@ -237,14 +237,14 @@ define( that = this; this.on(events.mail.want, this.fetchSingle); - this.on(document, events.mail.read, this.readMail); - this.on(document, events.mail.unread, this.unreadMail); + this.on(events.mail.read, this.readMail); + this.on(events.mail.unread, this.unreadMail); if(features.isEnabled('tags')) { - this.on(document, events.mail.tags.update, this.updateTags); + this.on(events.mail.tags.update, this.updateTags); } - this.on(document, events.mail.delete, this.deleteMail); - this.on(document, events.mail.deleteMany, this.deleteManyMails); - this.on(document, events.search.perform, this.newSearch); + this.on(events.mail.delete, this.deleteMail); + this.on(events.mail.deleteMany, this.deleteManyMails); + this.on(events.search.perform, this.newSearch); this.on(events.mail.draftReply.want, this.wantDraftReplyForMail); this.on(events.ui.mails.fetchByTag, this.fetchByTag); |