From e014742ffbd92099a59eb7df299e2ba36b0f31c3 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 20 Jun 2009 09:43:28 -0400
Subject: [PATCH] - one hasClass check less

---
 program/js/app.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 10cfb57..93ee4d8 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1336,9 +1336,7 @@
                 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;

--
Gitblit v1.9.1