summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_list
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-10-20 13:57:08 +0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-10-20 13:57:08 +0200
commit0b7b6fd9cf52f93dbbba57c9d140ff5f501e34b1 (patch)
tree6bf743d3c1ed06873f310372de507da9d2f202af /web-ui/app/js/mail_list
parentb839ea36d4aee965471420a45b85f95c87335c35 (diff)
Fixing jshint warning
Diffstat (limited to 'web-ui/app/js/mail_list')
-rw-r--r--web-ui/app/js/mail_list/ui/mail_list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/mail_list/ui/mail_list.js b/web-ui/app/js/mail_list/ui/mail_list.js
index 0d8c8919..dc1402ed 100644
--- a/web-ui/app/js/mail_list/ui/mail_list.js
+++ b/web-ui/app/js/mail_list/ui/mail_list.js
@@ -148,7 +148,7 @@ define(
this.checkedMailsForCurrentTag = function () {
var checkedMailsForCurrentTag = _.filter(self.attr.checkedMails, function (mail) {
- return mail.mailbox == self.attr.currentTag || _.contains(mail.tags, self.attr.currentTag);
+ return mail.mailbox === self.attr.currentTag || _.contains(mail.tags, self.attr.currentTag);
});
return checkedMailsForCurrentTag.length > 0 ? checkedMailsForCurrentTag : {};