summaryrefslogtreecommitdiff
path: root/plugins/archive/archive.js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-22 12:05:16 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-22 12:05:16 +0000
commit38394350ffaf894e399b860531bc9d3cee303e0d (patch)
treecfd4023345e280e78b54decb0bd4d2eaa787dd85 /plugins/archive/archive.js
parent957c5298a18e7aafc39bc33f674322f87702a683 (diff)
Let plugins adapt better to different skins
git-svn-id: https://svn.roundcube.net/trunk@5642 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/archive/archive.js')
-rw-r--r--plugins/archive/archive.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/archive/archive.js b/plugins/archive/archive.js
index 5c576e100..af2b0d26d 100644
--- a/plugins/archive/archive.js
+++ b/plugins/archive/archive.js
@@ -27,10 +27,8 @@ if (window.rcmail) {
// set css style for archive folder
var li;
- if (rcmail.env.archive_folder && rcmail.env.archive_folder_icon
- && (li = rcmail.get_folder_li(rcmail.env.archive_folder, '', true))
- )
- $(li).css('background-image', 'url(' + rcmail.env.archive_folder_icon + ')');
+ if (rcmail.env.archive_folder && (li = rcmail.get_folder_li(rcmail.env.archive_folder, '', true)))
+ $(li).addClass('archive');
})
}