diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index f87edff5c7..1bdd1166ff 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3294,11 +3294,6 @@ Zotero.Item.prototype.__defineGetter__('attachmentText', function () { if (cacheFile.exists()) { var str = Zotero.File.getContents(cacheFile); - // TODO: remove post-Fx3.0 - if (!str.trim) { - return Zotero.Utilities.trim(str); - } - return str.trim(); } return ''; @@ -3355,11 +3350,6 @@ Zotero.Item.prototype.__defineGetter__('attachmentText', function () { return ''; } - // TODO: remove post-Fx3.0 - if (!str.trim) { - return Zotero.Utilities.trim(str); - } - return str.trim(); });