[Svn] r5200 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Sat Sep 10 09:56:41 CEST 2011


Author: alec
Date: 2011-09-10 02:56:40 -0500 (Sat, 10 Sep 2011)
New Revision: 5200

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- Followup last commit, trim subject text for title


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2011-09-10 07:42:17 UTC (rev 5199)
+++ trunk/roundcubemail/program/js/app.js	2011-09-10 07:56:40 UTC (rev 5200)
@@ -6120,7 +6120,7 @@
 {
   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')})

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list