Remove another <Fx23 test
This commit is contained in:
parent
2c424c2b58
commit
957b649fa8
1 changed files with 0 additions and 4 deletions
|
@ -2971,10 +2971,6 @@ Zotero.Item.prototype.fileExistsAsync = function () {
|
||||||
return self._fileExists;
|
return self._fileExists;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Zotero.platformMajorVersion < 23) {
|
|
||||||
return self.fileExists();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!self.isAttachment()) {
|
if (!self.isAttachment()) {
|
||||||
throw new Error("Zotero.Item.fileExistsAsync() can only be called on attachment items");
|
throw new Error("Zotero.Item.fileExistsAsync() can only be called on attachment items");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue