From 550e8950ab021dbc7b52243a49628f8da511a124 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Wed, 1 Apr 2009 14:03:31 +0000 Subject: Selection of message icon div was too greedy for use with CSS sprites and threading icons. --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index a64c98ff0..e6c7aebdb 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -388,7 +388,7 @@ function rcube_webmail() } // set eventhandler to message icon - if ((row.icon = row.obj.cells[0].childNodes[1]) && row.icon.nodeName=='DIV') + if (row.icon = row.obj.cells[0].getElementsByClassName('icon-holder')[0]) { var p = this; row.icon.id = 'msgicn_'+row.uid; -- cgit v1.2.3