summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
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;