Fix previous commit
This commit is contained in:
parent
80dc7be1be
commit
71ca2c1b2c
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ Zotero.Schema = new function(){
|
|||
while (entries.hasMoreElements()) {
|
||||
var file = entries.getNext();
|
||||
file.QueryInterface(Components.interfaces.nsIFile);
|
||||
if (!file.exists || !file.leafName.match(fileNameRE) || file.isDirectory()) {
|
||||
if (!file.exists() || !file.leafName.match(fileNameRE) || file.isDirectory()) {
|
||||
continue;
|
||||
}
|
||||
var newObj = new Zotero[Mode](file);
|
||||
|
|
Loading…
Reference in a new issue