summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/app.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 10cfb5790..93ee4d8bb 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1336,9 +1336,7 @@ function rcube_webmail()
rcmail.command("collapse-folder", rcmail.folder_auto_expand);
rcmail.drag_start(null);
}, 1000);
- }
-
- if (!div.hasClass('collapsed') && this.folder_auto_timer) {
+ } else if (this.folder_auto_timer) {
window.clearTimeout(this.folder_auto_timer);
this.folder_auto_timer = null;
this.folder_auto_expand = null;