diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/zipdownload/zipdownload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/zipdownload/zipdownload.js b/plugins/zipdownload/zipdownload.js index 7629e9b20..39fb2d820 100644 --- a/plugins/zipdownload/zipdownload.js +++ b/plugins/zipdownload/zipdownload.js @@ -9,7 +9,7 @@ window.rcmail && rcmail.addEventListener('init', function(evt) { rcmail.register_command('download-maildir', function() { rcmail_zipdownload('maildir'); }); // commands status - rcmail.message_list.addEventListener('select', function(list) { + rcmail.message_list && rcmail.message_list.addEventListener('select', function(list) { var selected = list.get_selection().length; rcmail.enable_command('download', selected > 0); |