diff --git a/program/js/app.js b/program/js/app.js index 36d14c1fb..45db3bf89 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3077,7 +3077,7 @@ function rcube_webmail() css_class += ' status'; } - $(row.icon).attr('class', css_class).attr('title', label); + $(row.icon).attr({'class': css_class, title: label}); } if (row.msgicon && row.msgicon != row.icon) { @@ -3095,15 +3095,14 @@ function rcube_webmail() label += this.get_label('forwarded') + ' '; } - $(row.msgicon).attr('class', css_class).attr('title', label); + $(row.msgicon).attr({'class': css_class, title: label}); } if (row.flagicon) { css_class = (row.flagged ? 'flagged' : 'unflagged'); label = this.get_label(css_class); $(row.flagicon).attr('class', css_class) - .attr('aria-label', label) - .attr('title', label); + .attr({'aria-label': label, title: label}); } }; @@ -4078,9 +4077,7 @@ function rcube_webmail() li.append($('