summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-20 13:43:28 +0000
committeralecpl <alec@alec.pl>2009-06-20 13:43:28 +0000
commite014742ffbd92099a59eb7df299e2ba36b0f31c3 (patch)
treef30f9e536f454c1999aa33388f55ebafc1fb5556 /program
parent4534ab8771aa563ba7628b78e2321a4322a13a9e (diff)
- one hasClass check less
Diffstat (limited to 'program')
-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;