Index: trunk/extensions/LiveTranslate/includes/ext.livetranslate.js |
— | — | @@ -223,7 +223,8 @@ |
224 | 224 | // If it's an html element, check to see if it should be ignored, and if not, apply function again. |
225 | 225 | else if ( $.inArray( $( this ).attr( 'id' ), [ 'livetranslatediv', 'siteSub', 'jump-to-nav' ] ) == -1 |
226 | 226 | && $.inArray( $( this ).attr( 'class' ), [ 'notranslate', 'printfooter' ] ) == -1 |
227 | | - && $( this ).text().trim().length > 0 ) { |
| 227 | + && $( this ).text().length > 0 ) { |
| 228 | + |
228 | 229 | translateElement( $( this ), sourceLang, targetLang ); |
229 | 230 | } |
230 | 231 | } ); |