diff --git a/scripts/admin/browse.js b/scripts/admin/browse.js index 8d500b0de2f..664b5ac796e 100644 --- a/scripts/admin/browse.js +++ b/scripts/admin/browse.js @@ -26,12 +26,12 @@ $(document).ready(function(){ // Fix the heigh of the cell $('.browsetable td').each(function(){ - if ($(this).text().trim().length > 30){ + if ($.trim($(this).text()).length > 30){ $(this).html(""+$(this).html()+""); } }); $('.browsetable th .questiontext').each(function(){ - if ($(this).text().trim().length > 30){ + if ($.trim($(this).text()).length > 30){ $(this).addClass("content"); //$(this).attr("title",$(this).text()); }