Skip to content

Commit

Permalink
Fix await->yield in f8b41c9
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Feb 28, 2018
1 parent f8b41c9 commit 1d367f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotero/zoteroPane.js
Expand Up @@ -3701,7 +3701,7 @@ var ZoteroPane = new function()
if (files.length == 1 && Zotero.Prefs.get('renameAttachmentFiles.automatic')) {
let parentItem = Zotero.Items.get(parentItemID);
if (!parentItem.numNonHTMLFileAttachments()) {
fileBaseName = await Zotero.Attachments.getRenamedFileBaseNameIfAllowedType(
fileBaseName = yield Zotero.Attachments.getRenamedFileBaseNameIfAllowedType(
parentItem, files[0]
);
}
Expand Down

0 comments on commit 1d367f0

Please sign in to comment.