diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-20 13:43:28 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-20 13:43:28 +0000 |
| commit | 52c26184c9e2f0a6ff34fda5daef36ec0d2c7b59 (patch) | |
| tree | 4a657efddf062a37494845974dc385b00e97864f /roundcubemail | |
| parent | cc30aee5180c777ef8438c6ed685b333b9a85d41 (diff) | |
- one hasClass check less
git-svn-id: https://svn.roundcube.net/trunk@2669 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/program/js/app.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 10cfb5790..93ee4d8bb 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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; |
