summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d71415618..22ff4c98f 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5578,6 +5578,8 @@ function rcube_webmail()
if (mark)
this.mark_folder(mbox, mark, '', true);
+ else if (!count)
+ this.unmark_folder(mbox, 'recent', '', true);
};
// update the mailbox count display