From 38394350ffaf894e399b860531bc9d3cee303e0d Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 22 Dec 2011 12:05:16 +0000 Subject: Let plugins adapt better to different skins git-svn-id: https://svn.roundcube.net/trunk@5642 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/archive/archive.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/archive/archive.js') 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'); }) } -- cgit v1.2.3