summaryrefslogtreecommitdiff
path: root/plugins/archive/archive.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/archive/archive.js')
-rw-r--r--plugins/archive/archive.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/archive/archive.js b/plugins/archive/archive.js
index d771fb66b..954fd1549 100644
--- a/plugins/archive/archive.js
+++ b/plugins/archive/archive.js
@@ -29,8 +29,8 @@ if (window.rcmail) {
// set css style for archive folder
var li;
- if (rcmail.env.archive_folder && (li = rcmail.get_folder_li(rcmail.env.archive_folder)))
- $(li).css('background-image', 'url(plugins/archive/foldericon.png)');
+ if (rcmail.env.archive_folder && rcmail.env.archive_folder_icon && (li = rcmail.get_folder_li(rcmail.env.archive_folder)))
+ $(li).css('background-image', 'url(' + rcmail.env.archive_folder_icon + ')');
})
}