Replace legacy syntax for each...in with for...of
This commit is contained in:
parent
b445283f4e
commit
269e2f8bff
28 changed files with 87 additions and 87 deletions
|
@ -596,7 +596,7 @@ function ZoteroProtocolHandler() {
|
|||
var search = new Zotero.Search();
|
||||
search.setScope(s);
|
||||
var groups = Zotero.Groups.getAll();
|
||||
for each(var group in groups) {
|
||||
for (let group of groups) {
|
||||
search.addCondition('libraryID', 'isNot', group.libraryID);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue