summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-10 07:56:40 +0000
committeralecpl <alec@alec.pl>2011-09-10 07:56:40 +0000
commiteb616c8a62dad22930c0a59812711fd2e423a4d1 (patch)
tree55991fdf6f3d1929dbfa0c1e8cebe1f9c3de3f85
parent065d7025ee2d8b585dc8643439a1c453bbf6636b (diff)
- Followup last commit, trim subject text for title
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 0f17633a2..b951aa591 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6120,7 +6120,7 @@ rcube_webmail.long_subject_title_ie = function(elem, indent)
{
if (!elem.title) {
var $elem = $(elem),
- txt = $elem.text(),
+ txt = $.trim($elem.text()),
tmp = $('<span>').text(txt)
.css({'position': 'absolute', 'float': 'left', 'visibility': 'hidden',
'font-size': $elem.css('font-size'), 'font-weight': $elem.css('font-weight')})