More antiquated code cleanup
This commit is contained in:
parent
9d7509ae13
commit
db89c65596
1 changed files with 0 additions and 10 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue